diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/libtool-post-logic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/libtool-post-logic b/mk/buildlink3/libtool-post-logic index 73501e41e54..218671aeda3 100644 --- a/mk/buildlink3/libtool-post-logic +++ b/mk/buildlink3/libtool-post-logic @@ -1,4 +1,4 @@ -# $NetBSD: libtool-post-logic,v 1.4 2004/03/30 17:25:19 jlam Exp $ +# $NetBSD: libtool-post-logic,v 1.5 2004/04/01 21:21:13 jlam Exp $ case $arg in # @@ -72,7 +72,7 @@ case $arg in ladir=`$dirname $arg` ldir=`cd $ladir; $pwd` buildlibdir=`. $ladir/$labase; $echo $buildlibdir` - if $test "$ldir" != "$buildlibdir"; then + if $test -n "$buildlibdir" -a "$ldir" != "$buildlibdir"; then arg="$buildlibdir/$labase" $echo "*** [buildlink3] Warning: libtool replaced $ladir/$labase with $arg" >> $wrapperlog $echo "*** [buildlink3] Warning: libtool replaced $ladir/$labase with $arg" 1>&2 |