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