diff options
-rw-r--r-- | mk/buildlink2/libtool-fix-la | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/buildlink2/libtool-fix-la b/mk/buildlink2/libtool-fix-la index 9e1ec182167..efbc7805a18 100644 --- a/mk/buildlink2/libtool-fix-la +++ b/mk/buildlink2/libtool-fix-la @@ -1,4 +1,4 @@ -# $NetBSD: libtool-fix-la,v 1.7 2002/09/23 23:49:01 jlam Exp $ +# $NetBSD: libtool-fix-la,v 1.8 2002/09/23 23:51:28 jlam Exp $ # # For *.la files, in the "relink_command" line, we make the following # replacements: @@ -32,7 +32,7 @@ if [ -f $lafile ]; then *.la) ltlibsdir=`@DIRNAME@ $i`/.libs case "$ltlibsdir" in - @WRKSRC@/*) + ./*|../*|@WRKSRC@/*) case "$deps" in *"-L$ltlibsdir "*) ;; *"-L$ltlibsdir") ;; @@ -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") ;; |