aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0074_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch
blob: 04369f0d7ee851f23d120de4fb1465aad4ac4dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix dynamic library linking on OS X. Use -dynamiclib instead of -bundle.
Author: Clemens Lang <cal@macports.org>

--- a/nxcomp/configure.in
+++ b/nxcomp/configure.in
@@ -183,11 +183,11 @@ if test "$FreeBSD" = yes; then
 fi
 
 dnl Under Darwin we don't have support for -soname option and
-dnl we need the -bundle flag. Under Solaris, instead, we need
+dnl we need the -dynamiclib flag. Under Solaris, instead, we need
 dnl the options -G -h.
 
 if test "$DARWIN" = yes; then
-  LDFLAGS="$LDFLAGS -bundle"
+  LDFLAGS="$LDFLAGS -dynamiclib"
 elif test "$SUN" = yes; then
   LDFLAGS="$LDFLAGS -G -h \$(LIBLOAD)"
 else