aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-04-26 20:13:12 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-26 20:13:12 +0200
commitca36175735d4ad5d389b3b7797391ff36b1854ba (patch)
tree68bad4cde60835b404f2ec876fdb9cff9ba1d840 /debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
parent952e320cda19d7014b3b81b98961b5c724c7d46d (diff)
downloadnx-libs-ca36175735d4ad5d389b3b7797391ff36b1854ba.tar.gz
nx-libs-ca36175735d4ad5d389b3b7797391ff36b1854ba.tar.bz2
nx-libs-ca36175735d4ad5d389b3b7797391ff36b1854ba.zip
nx-X11: link to libdl to fix undefined references to 'dlopen' and 'dlsym'. Fixes: #853.
v2: generally link to libdl in all of nx-X11. (Mike Gabriel) Adds: - 0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
Diffstat (limited to 'debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch')
-rw-r--r--debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch b/debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
new file mode 100644
index 000000000..70f012345
--- /dev/null
+++ b/debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
@@ -0,0 +1,17 @@
+Description: Link to libdl to fix undefined references to 'dlopen' and 'dlsym'.
+Author: Bernard Cafarelli <voyageur@gentoo.org>
+v2: generally link to libdl in all of nx-X11. (Mike Gabriel)
+
+diff --git a/nx-X11/config/cf/lnxLib.tmpl b/nx-X11/config/cf/lnxLib.tmpl
+index 788733c..be1fa14 100644
+--- a/nx-X11/config/cf/lnxLib.tmpl
++++ b/nx-X11/config/cf/lnxLib.tmpl
+@@ -17,7 +17,7 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
+ #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
+ #endif
+
+-#define SharedX11Reqs
++#define SharedX11Reqs $(LDPRELIB) -ldl
+ #define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
+ #define SharedOldXReqs $(LDPRELIB) $(XONLYLIB)
+ #define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)