diff options
author | jlam <jlam> | 2002-09-23 23:51:28 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-23 23:51:28 +0000 |
commit | ed164ab14e8350be8dc0ff98da1946ff472e3521 (patch) | |
tree | 4384fe27055c199f919c04096ffae3104edd43d4 /mk | |
parent | d369ac9bec1aaf65fc05901113d84bfb449dbfa7 (diff) | |
download | pkgsrc-ed164ab14e8350be8dc0ff98da1946ff472e3521.tar.gz |
For completeness, also allow for ./* when naming uninstalled libtool
archives, and also do the special handling for dependency_libs.
Diffstat (limited to 'mk')
-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") ;; |