summaryrefslogtreecommitdiff
path: root/x11/Xaw3d
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-23 08:29:56 +0000
committerjlam <jlam>2002-09-23 08:29:56 +0000
commit0751d0eff1512c05e2cd09eab6eb630899a3c0c2 (patch)
tree5c9a74d1e3088bf4e7a7b2cc4cefa420b421d5c4 /x11/Xaw3d
parent14e419b4822c77648abaefe0ff750ba0af852d06 (diff)
downloadpkgsrc-0751d0eff1512c05e2cd09eab6eb630899a3c0c2.tar.gz
Add the -Wl,-R flags to find the widget library. The ld wrapper script
understands "-Wl,-R" to be just "-R", so it will work fine.
Diffstat (limited to 'x11/Xaw3d')
-rw-r--r--x11/Xaw3d/buildlink2.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/Xaw3d/buildlink2.mk b/x11/Xaw3d/buildlink2.mk
index 94d4e7178c6..41205f498c1 100644
--- a/x11/Xaw3d/buildlink2.mk
+++ b/x11/Xaw3d/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:26 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/09/23 08:29:59 jlam Exp $
.if !defined(XAW3D_BUILDLINK2_MK)
XAW3D_BUILDLINK2_MK= # defined
@@ -15,7 +15,9 @@ BUILDLINK_FILES.Xaw3d+= lib/libXaw3d.*
BUILDLINK_TARGETS+= Xaw3d-buildlink
-LIBXAW?= -L${BUILDLINK_PREFIX.Xaw3d}/lib -lXaw3d
+LIBXAW?= -L${BUILDLINK_PREFIX.Xaw3d}/lib \
+ -Wl,-R${BUILDLINK_PREFIX.Xaw3d}/lib \
+ -lXaw3d
Xaw3d-buildlink: _BUILDLINK_USE