summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-10-23 15:47:09 +0000
committertnn <tnn@pkgsrc.org>2009-10-23 15:47:09 +0000
commit50f13a4bf209faae46fd735da6ff8fe91ae1bee0 (patch)
tree28d3745f96c434aa64768e6b6260fa00ce050e12 /x11
parent89c7c407f3aa666eeb51e09be8af746b9e0f2842 (diff)
downloadpkgsrc-50f13a4bf209faae46fd735da6ff8fe91ae1bee0.tar.gz
Fix qt4-tools build on Linux by adding -ldl to LDFLAGS.
From Ondrej Tuma in PR pkg/37688 XXX I think -ldl should go into the generated libQtCore.la instead, but I lack sufficient clue how to make that happen.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt4-libs/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/qt4-libs/Makefile.common b/x11/qt4-libs/Makefile.common
index 694863b61fd..da858b904dd 100644
--- a/x11/qt4-libs/Makefile.common
+++ b/x11/qt4-libs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2009/10/11 09:14:52 adam Exp $
+# $NetBSD: Makefile.common,v 1.17 2009/10/23 15:47:09 tnn Exp $
# used by x11/qt4-libs/Makefile
# used by x11/qt4-docs/Makefile
@@ -79,6 +79,8 @@ QMAKE_RANLIB= ${RANLIB}
. if exists(/usr/lib/libresolv.dylib)
LDFLAGS+= -lresolv
. endif
+.elif ${OPSYS} == "Linux"
+LDFLAGS+= -ldl
.endif
QMAKE_RANLIB?= ${TRUE}