aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch
diff options
context:
space:
mode:
authorX2Go Release Manager <git-admin@x2go.org>2015-03-17 19:09:05 +0100
committerX2Go Release Manager <git-admin@x2go.org>2015-03-17 19:11:33 +0100
commit71589a05045ef70d5f057e3ad29a62ca0b4c989d (patch)
treea36a47afcb31b802c15948ffba973617a3cdb624 /debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch
parent8963b8e7099258a74ba85f8d4325fe6df5db1eae (diff)
downloadnx-libs-redist-server/3.5.0.31.tar.gz
nx-libs-redist-server/3.5.0.31.tar.bz2
nx-libs-redist-server/3.5.0.31.zip
Mid-release fixup: Rename *nxcomp{ext,shad}*.full+lite* to *nxcomp{ext,shad}*.full*.redist-server/3.5.0.31redist-client/3.5.0.31
Diffstat (limited to 'debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch')
-rw-r--r--debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch b/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch
new file mode 100644
index 000000000..a75424511
--- /dev/null
+++ b/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch
@@ -0,0 +1,19 @@
+Description: Fix dynamic library linking on OS X. Use -dynamiclib instead of -bundle.
+Author: Clemens Lang <cal@macports.org>
+
+--- 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