aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/configure
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 14:00:57 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 14:00:57 +0000
commitdaf6b407bd8ffc3af8d28f90909a94d7a34c92d3 (patch)
tree202c61b8b2ef803d5a0769fbfc40f86a85c786dc /Lua/configure
parente8ab3f4e919d31b51a44c1eb0248b2bac1f16e57 (diff)
downloadusdx-daf6b407bd8ffc3af8d28f90909a94d7a34c92d3.tar.gz
usdx-daf6b407bd8ffc3af8d28f90909a94d7a34c92d3.tar.xz
usdx-daf6b407bd8ffc3af8d28f90909a94d7a34c92d3.zip
merged trunk r2029 into lua branch
- fix macosx compiling ?! git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2030 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rwxr-xr-xLua/configure4
-rw-r--r--Lua/configure.ac4
2 files changed, 6 insertions, 2 deletions
diff --git a/Lua/configure b/Lua/configure
index a3dc7cac..e7a36683 100755
--- a/Lua/configure
+++ b/Lua/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/Lua/configure.ac b/Lua/configure.ac
index 69e358fc..b7055ae6 100644
--- a/Lua/configure.ac
+++ b/Lua/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)