From a620866d379a3370a7ba455a03bb89ffcb1da3f5 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 31 Aug 2003 07:05:50 +0000 Subject: Also strip out -L@WRKSRC@ since the libraries may be in the top-level source directory. --- mk/buildlink3/libtool-fix-la | 4 ++-- 1 file 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@/,"` -- cgit v1.2.3