diff options
Diffstat (limited to '')
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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) |