aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
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)