diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-24 12:09:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-24 12:09:16 +0000 |
commit | 69fbe893c616e00efc5ddd1e7a2ef3919cbe9b7b (patch) | |
tree | 21d73e62e9881c1ed31fa8e081c34a5db6aba671 /mk | |
parent | 78e62e03a60f681731c3c8326f4c7d6ec719ec8d (diff) | |
download | pkgsrc-69fbe893c616e00efc5ddd1e7a2ef3919cbe9b7b.tar.gz |
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}.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/libtool-fix-la | 4 |
1 files changed, 3 insertions, 1 deletions
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@/*) ;; *) |