From 74c73fe5f899ac7d1b0da7b5ed80399efedf3244 Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 3 Mar 2003 19:41:27 +0000 Subject: We want to remove '-Wl,-R' and '-rpath' when USE_BUILDLINK2 is "no" not the opposite: this was a little mistake introduced in revision 1.1086. (hopping nothing will be broken by this change...) --- mk/bsd.pkg.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 2935737fa4e..6cb7c976d0c 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1148 2003/02/28 03:41:39 jschauma Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1149 2003/03/03 19:41:27 seb Exp $ # # This file is in the public domain. # @@ -284,7 +284,7 @@ LDFLAGS+= ${X11_LDFLAGS} .if ${_USE_RPATH} == "yes" LDFLAGS+= -Wl,${_OPSYS_RPATH_NAME}${LOCALBASE}/lib .else -. if empty(USE_BUILDLINK2:M[nN][oO]) +. if !empty(USE_BUILDLINK2:M[nN][oO]) LDFLAGS:= ${LDFLAGS:N*-Wl,-R*:N*-rpath*} . endif .endif -- cgit v1.2.3