diff options
author | jlam <jlam> | 2002-09-23 23:49:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-23 23:49:01 +0000 |
commit | d369ac9bec1aaf65fc05901113d84bfb449dbfa7 (patch) | |
tree | 30b4feaedebe454c29e8eca946886d3a9192268f | |
parent | fcc7e6e53ceda47f2186278e93a6e8d7cc6301df (diff) | |
download | pkgsrc-d369ac9bec1aaf65fc05901113d84bfb449dbfa7.tar.gz |
Also add -L*/.libs for *.la that start with "../", which is also quite
common when referring to an uninstalled libtool archive.
-rw-r--r-- | mk/buildlink2/libtool-fix-la | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink2/libtool-fix-la b/mk/buildlink2/libtool-fix-la index 8661df85ea9..9e1ec182167 100644 --- a/mk/buildlink2/libtool-fix-la +++ b/mk/buildlink2/libtool-fix-la @@ -1,4 +1,4 @@ -# $NetBSD: libtool-fix-la,v 1.6 2002/09/23 22:32:08 jlam Exp $ +# $NetBSD: libtool-fix-la,v 1.7 2002/09/23 23:49:01 jlam Exp $ # # For *.la files, in the "relink_command" line, we make the following # replacements: @@ -66,7 +66,7 @@ if [ -f $lafile ]; then *.la) ltlibsdir=`@DIRNAME@ $i`/.libs case "$ltlibsdir" in - @WRKSRC@/*) + ../*|@WRKSRC@/*) case "$relink" in *"-L$ltlibsdir "*) ;; *"-L$ltlibsdir") ;; |