summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/buildlink3/libtool-fix-la3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/buildlink3/libtool-fix-la b/mk/buildlink3/libtool-fix-la
index 928b62f37bb..d09590e19b2 100644
--- a/mk/buildlink3/libtool-fix-la
+++ b/mk/buildlink3/libtool-fix-la
@@ -1,4 +1,4 @@
-# $NetBSD: libtool-fix-la,v 1.1.2.6 2003/08/27 12:56:00 jlam Exp $
+# $NetBSD: libtool-fix-la,v 1.1.2.7 2003/08/30 07:45:03 jlam Exp $
#
# For *.la files, in the "relink_command" line, we make the following
# replacements:
@@ -245,6 +245,7 @@ if $test -f $lafile; then
L=
fi
deps="$L$l"
+ deps=`$echo "X$deps" | $Xsed -e "s/^[ ]*//"`
@MV@ -f $laifile ${laifile}.blsav
(
$cat ${laifile}.tmp | @SED@ -e '/^dependency_libs=/,$d'