From c54fb6c8cd0f36ff56f8a7a59f3de5c0bdec029b Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 20 Sep 2002 00:57:43 +0000 Subject: Protect against -Wl,-rpath,/usr/local/lib if LOCALBASE != /usr/local. --- mk/buildlink2/bsd.buildlink2.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk/buildlink2') 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 -- cgit v1.2.3