aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Lua/configure')
-rwxr-xr-xLua/configure4
1 files changed, 3 insertions, 1 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=