blob: 6c0ebca64f145fa695946c40d84926551886a1bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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)
--- a/nx-X11/config/cf/lnxLib.tmpl
+++ b/nx-X11/config/cf/lnxLib.tmpl
@@ -17,7 +17,7 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLI
#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)
|