diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-13 13:44:54 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-13 13:44:54 +0000 |
commit | 7f37a7a60dec8ee0aa18d794b5789cc555da6036 (patch) | |
tree | 2205f606b5f43d410f78cb92311b8516082f1bb3 /configure | |
parent | 46e4f20c37be63c326b9ac798c656c266301d5b0 (diff) | |
download | usdx-7f37a7a60dec8ee0aa18d794b5789cc555da6036.tar.gz usdx-7f37a7a60dec8ee0aa18d794b5789cc555da6036.tar.xz usdx-7f37a7a60dec8ee0aa18d794b5789cc555da6036.zip |
another fix to pass better options to the linker on Mac OS X, in particular to 10.4 ppc systems :-)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2028 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -6250,7 +6250,9 @@ See the pkg-config man page for more details. # determine linker-flags -LDFLAGS="-undefined dynamic_lookup" +if test x$FPC_PLATFORM = xdarwin; then + LDFLAGS="-macosx_version_min 10.4 -undefined dynamic_lookup" +fi #LIBS= diff --git a/configure.ac b/configure.ac index 69e358fc..b7055ae6 100644 --- a/configure.ac +++ b/configure.ac @@ -224,7 +224,9 @@ PKG_HAVE([portmixer], [portmixer], no) AC_SUBST_DEFINE(HAVE_PORTMIXER, $portmixer_HAVE) # determine linker-flags -LDFLAGS="-undefined dynamic_lookup" +if test x$FPC_PLATFORM = xdarwin; then + LDFLAGS="-macosx_version_min 10.4 -undefined dynamic_lookup" +fi #LIBS= AC_SUBST(LDFLAGS) AC_SUBST(LIBS) |