Added -bind_at_load linker option for Darwin/Mac OS X: executables must

necessarily fully bind the wxWindows library at program launch otherwise
lazy binding breaks RTTI class info


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2002-04-16 11:41:57 +00:00
parent f7f50f493b
commit 3010d50a0c
2 changed files with 311 additions and 306 deletions

614
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -2423,6 +2423,9 @@ if test "$wxUSE_SHARED" = "yes"; then
dnl http://fink.sourceforge.net/doc/porting/porting.html
CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
dnl Executables must necessarily fully bind the wxWindows library at
dnl program launch otherwise lazy binding breaks RTTI class info
LDFLAGS="$LDFLAGS -Wl,-bind_at_load"
SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
PIC_FLAG="-dynamic -fPIC"
SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"