diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-31 07:05:50 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-31 07:05:50 +0000 |
commit | 0299a283b58c2522df525baf3d08a52c616737d2 (patch) | |
tree | f781730316af81f99b596f45991a6212d5297ff5 | |
parent | 0901f01e788e8ac082b114c15e3f30f21fe00e7f (diff) | |
download | pkgsrc-0299a283b58c2522df525baf3d08a52c616737d2.tar.gz |
Also strip out -L@WRKSRC@ since the libraries may be in the top-level
source directory.
-rw-r--r-- | mk/buildlink3/libtool-fix-la | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/libtool-fix-la b/mk/buildlink3/libtool-fix-la index d09590e19b2..204429af3f3 100644 --- a/mk/buildlink3/libtool-fix-la +++ b/mk/buildlink3/libtool-fix-la @@ -1,4 +1,4 @@ -# $NetBSD: libtool-fix-la,v 1.1.2.7 2003/08/30 07:45:03 jlam Exp $ +# $NetBSD: libtool-fix-la,v 1.1.2.8 2003/08/31 07:05:50 jlam Exp $ # # For *.la files, in the "relink_command" line, we make the following # replacements: @@ -186,7 +186,7 @@ if $test -f $lafile; then case "$i" in -L${BUILDLINK_DIR}/*) ;; - -L@WRKSRC@/*) + -L@WRKSRC@|-L@WRKSRC@/*) ;; -L@DEPOTBASE@/*) i=`$echo "X$i" | $Xsed -e "s,-L@DEPOTBASE@/[^/]*/,-L@LOCALBASE@/,"` |