summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-26 17:53:35 +0000
committerjlam <jlam@pkgsrc.org>2001-06-26 17:53:35 +0000
commit4514d29d053c643432822d340734867c635ced12 (patch)
treefbedd719676097a0d37f6822310d8bbf3484de46
parent5b6d0333e07ce43348ab32c09cf864aed22266b9 (diff)
downloadpkgsrc-4514d29d053c643432822d340734867c635ced12.tar.gz
Also add ${QTDIR}/lib to the rpath setting in LDFLAGS.
-rw-r--r--x11/qt2-libs/buildlink.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/qt2-libs/buildlink.mk b/x11/qt2-libs/buildlink.mk
index 4e3e8351117..87eb6db2e37 100644
--- a/x11/qt2-libs/buildlink.mk
+++ b/x11/qt2-libs/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.3 2001/06/26 17:45:27 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.4 2001/06/26 17:53:35 jlam Exp $
#
# This Makefile fragment is included by packages that use qt2-libs.
#
@@ -37,6 +37,7 @@ CONFIGURE_ENV+= QTDIR="${BUILDLINK_QTDIR}"
CONFIGURE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc"
MAKE_ENV+= QTDIR="${BUILDLINK_QTDIR}"
MAKE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc"
+LDFLAGS+= -Wl,-R${QTDIR}/lib
BUILDLINK_TARGETS.qt2-libs= qt2-libs-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.qt2-libs}