diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-20 00:57:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-20 00:57:43 +0000 |
commit | c54fb6c8cd0f36ff56f8a7a59f3de5c0bdec029b (patch) | |
tree | ac9e247d0f69fa1bef3d118a1ae1e50885f93879 /mk/buildlink2 | |
parent | 3af39f4e3c185a70a03e156e3999300c9d5480d2 (diff) | |
download | pkgsrc-c54fb6c8cd0f36ff56f8a7a59f3de5c0bdec029b.tar.gz |
Protect against -Wl,-rpath,/usr/local/lib if LOCALBASE != /usr/local.
Diffstat (limited to 'mk/buildlink2')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index 39d76aebfcd..ed30f8f8a05 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.23 2002/09/18 02:14:35 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.24 2002/09/20 00:57:43 jlam Exp $ # # An example package buildlink2.mk file: # @@ -221,6 +221,7 @@ _BLNK_TRANSFORM+= LL:${X11BASE}:${BUILDLINK_X11PKG_DIR},${BUILDLINK_X11_DIR} _BLNK_TRANSFORM+= r:-I${_localbase_} _BLNK_TRANSFORM+= r:-L${_localbase_} _BLNK_TRANSFORM+= r:-Wl,-R${_localbase_} +_BLNK_TRANSFORM+= r:-Wl,-rpath,${_localbase_} _BLNK_TRANSFORM+= r:-R${_localbase_} . endif .endfor |