summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/buildlink3/libtool-fix-la4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/libtool-fix-la b/mk/buildlink3/libtool-fix-la
index d09590e19b2..204429af3f3 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.7 2003/08/30 07:45:03 jlam Exp $
+# $NetBSD: libtool-fix-la,v 1.1.2.8 2003/08/31 07:05:50 jlam Exp $
#
# For *.la files, in the "relink_command" line, we make the following
# replacements:
@@ -186,7 +186,7 @@ if $test -f $lafile; then
case "$i" in
-L${BUILDLINK_DIR}/*)
;;
- -L@WRKSRC@/*)
+ -L@WRKSRC@|-L@WRKSRC@/*)
;;
-L@DEPOTBASE@/*)
i=`$echo "X$i" | $Xsed -e "s,-L@DEPOTBASE@/[^/]*/,-L@LOCALBASE@/,"`