From daf6b407bd8ffc3af8d28f90909a94d7a34c92d3 Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Sun, 13 Dec 2009 14:00:57 +0000 Subject: 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 --- Lua/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Lua/configure.ac') 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) -- cgit v1.2.3