From 69fbe893c616e00efc5ddd1e7a2ef3919cbe9b7b Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 24 Jan 2003 12:09:16 +0000 Subject: Strip bare "-L${BUILDLINK_DIR}" (note there is no trailing "/lib") from dependency_libs definitions in *.lai files. This should remove another instance that can cause "buildlink2 leakage" into installed files under ${LOCALBASE}. --- mk/buildlink2/libtool-fix-la | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mk/buildlink2/libtool-fix-la') diff --git a/mk/buildlink2/libtool-fix-la b/mk/buildlink2/libtool-fix-la index c40bd5a83dd..5454f6d19e6 100644 --- a/mk/buildlink2/libtool-fix-la +++ b/mk/buildlink2/libtool-fix-la @@ -1,4 +1,4 @@ -# $NetBSD: libtool-fix-la,v 1.17 2003/01/07 07:34:08 jlam Exp $ +# $NetBSD: libtool-fix-la,v 1.18 2003/01/24 12:09:16 jlam Exp $ # # For *.la files, in the "relink_command" line, we make the following # replacements: @@ -146,6 +146,8 @@ if $test -f $lafile; then ;; -L*) case "$i" in + -L${BUILDLINK_DIR}|-L${BUILDLINK_X11_DIR}) + ;; -L@WRKSRC@/*) ;; *) -- cgit v1.2.3