diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-23 23:49:01 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-23 23:49:01 +0000 |
commit | f2a3cbaeba36706714e4c6ac2db2d13b376629a5 (patch) | |
tree | 30b4feaedebe454c29e8eca946886d3a9192268f /mk | |
parent | c0638606ad7f8c12e3f361895303882e94c9fd9f (diff) | |
download | pkgsrc-f2a3cbaeba36706714e4c6ac2db2d13b376629a5.tar.gz |
Also add -L*/.libs for *.la that start with "../", which is also quite
common when referring to an uninstalled libtool archive.
Diffstat (limited to 'mk')
-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") ;; |