added url of Fink Unix to Mac OS X porting instructions
added compatibility version options to dynamic linking under Darwin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2f12683e40
commit
90f3fe56ee
@ -2424,10 +2424,14 @@ if test "$wxUSE_SHARED" = "yes"; then
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-darwin* )
|
*-*-darwin* )
|
||||||
|
dnl For Unix to MacOS X porting instructions, see:
|
||||||
|
dnl http://fink.sourceforge.net/doc/porting/porting.html
|
||||||
CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
|
CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
|
||||||
CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
|
CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
|
||||||
SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
|
SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
|
||||||
PIC_FLAG="-dynamic -fPIC"
|
PIC_FLAG="-dynamic -fPIC"
|
||||||
|
SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
|
||||||
|
SONAME_FLAGS_GL=${SONAME_FLAGS}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-aix* )
|
*-*-aix* )
|
||||||
|
Loading…
Reference in New Issue
Block a user