aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 13:44:54 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 13:44:54 +0000
commit7f37a7a60dec8ee0aa18d794b5789cc555da6036 (patch)
tree2205f606b5f43d410f78cb92311b8516082f1bb3 /configure
parent46e4f20c37be63c326b9ac798c656c266301d5b0 (diff)
downloadusdx-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-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index a3dc7cac..e7a36683 100755
--- a/configure
+++ b/configure
@@ -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)