Correct the glob so that we actually match -L${BUILDLINK_DIR}/* and

-L${BUILDLINK_X11_DIR} and discard them.  (from pkgviews-mk).
This commit is contained in:
jlam 2003-08-27 12:57:52 +00:00
parent d34c1dce87
commit 8d5649cbcd

View file

@ -1,4 +1,4 @@
# $NetBSD: libtool-fix-la,v 1.18 2003/01/24 12:09:16 jlam Exp $
# $NetBSD: libtool-fix-la,v 1.19 2003/08/27 12:57:52 jlam Exp $
#
# For *.la files, in the "relink_command" line, we make the following
# replacements:
@ -146,7 +146,7 @@ if $test -f $lafile; then
;;
-L*)
case "$i" in
-L${BUILDLINK_DIR}|-L${BUILDLINK_X11_DIR})
-L${BUILDLINK_DIR}/*|-L${BUILDLINK_X11_DIR}/*)
;;
-L@WRKSRC@/*)
;;