Search
lxdream.org :: lxdream :: r902:408568dc97d5
lxdream 0.9.1
released Jun 29
Download Now
changeset902:408568dc97d5
parent901:32c5cf5e206f
child903:1337c7a7dd6b
authornkeynes
dateMon Oct 27 07:26:49 2008 +0000 (11 years ago)
Add -mdynamic-no-pic flag to OS X builds
configure
configure.in
1.1 --- a/configure Sun Oct 26 02:28:29 2008 +0000
1.2 +++ b/configure Mon Oct 27 07:26:49 2008 +0000
1.3 @@ -6819,7 +6819,7 @@
1.4 APPLE_BUILD='yes'
1.5 LIBS="$LIBS -framework AppKit"
1.6 LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"
1.7 - CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4"
1.8 + CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
1.9 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
1.10
1.11 cat >>confdefs.h <<\_ACEOF
2.1 --- a/configure.in Sun Oct 26 02:28:29 2008 +0000
2.2 +++ b/configure.in Mon Oct 27 07:26:49 2008 +0000
2.3 @@ -77,7 +77,7 @@
2.4 APPLE_BUILD='yes'
2.5 LIBS="$LIBS -framework AppKit"
2.6 LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"
2.7 - CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4"
2.8 + CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
2.9 LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
2.10 AC_DEFINE(HAVE_COCOA,[1],[Have Cocoa framework])
2.11 AC_DEFINE(APPLE_BUILD,[1],[Building on an apple platform. Things are different...])
.