diff options
author | tnn <tnn@pkgsrc.org> | 2009-10-23 15:47:09 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-10-23 15:47:09 +0000 |
commit | 50f13a4bf209faae46fd735da6ff8fe91ae1bee0 (patch) | |
tree | 28d3745f96c434aa64768e6b6260fa00ce050e12 /x11 | |
parent | 89c7c407f3aa666eeb51e09be8af746b9e0f2842 (diff) | |
download | pkgsrc-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.common | 4 |
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} |