[X2Go-Commits] [nx-libs] 02/03: nxcomp{, shad}: fix dynamic library linking on OS X. Use -dynamiclib instead of -bundle.
git-admin at x2go.org
git-admin at x2go.org
Sun Mar 15 17:30:18 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit ad7e12ed39cc4091ff878ea2b3e748e0147dd57f
Author: Clemens Lang <cal at macports.org>
Date: Sun Mar 15 17:26:24 2015 +0100
nxcomp{,shad}: fix dynamic library linking on OS X. Use -dynamiclib instead of -bundle.
---
debian/changelog | 1 +
nxcomp/configure.in | 4 ++--
nxcompshad/configure.in | 4 ++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6647178..771139d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ nx-libs (2:3.5.0.31-0x2go1) UNRELEASED; urgency=low
[ Clemens Lang ]
* Use path discovery for finding makedepend. Remove old cruft.
+ * Fix dynamic library linking on OS X. Use -dynamiclib instead of -bundle.
-- X2Go Release Manager <git-admin at x2go.org> Sun, 15 Mar 2015 00:48:06 +0100
diff --git a/nxcomp/configure.in b/nxcomp/configure.in
index 2378a93..07c88df 100644
--- 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
diff --git a/nxcompshad/configure.in b/nxcompshad/configure.in
index a76c6b9..4e91361 100644
--- a/nxcompshad/configure.in
+++ b/nxcompshad/configure.in
@@ -175,11 +175,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
--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list