summaryrefslogtreecommitdiff
path: root/mk/buildlink3
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-24 20:44:28 +0000
committerjlam <jlam@pkgsrc.org>2004-09-24 20:44:28 +0000
commitcf55b4e4746f12774296c8f45e6a24bf7dd19bd7 (patch)
treee1b62884cadae4945145c36c9603d26fb2c249b2 /mk/buildlink3
parent3f109a4f65c69c7474717f522c8995e055d3d78c (diff)
downloadpkgsrc-cf55b4e4746f12774296c8f45e6a24bf7dd19bd7.tar.gz
Teach the libtool wrapper about the "clean" and "uninstall" modes, where
we don't append the BUIDLINK_LDFLAGS to the commandline.
Diffstat (limited to 'mk/buildlink3')
-rw-r--r--mk/buildlink3/scan-libtool11
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/buildlink3/scan-libtool b/mk/buildlink3/scan-libtool
index 7525de498c9..c6ad997001d 100644
--- a/mk/buildlink3/scan-libtool
+++ b/mk/buildlink3/scan-libtool
@@ -1,4 +1,4 @@
-# $NetBSD: scan-libtool,v 1.2 2004/09/22 17:56:31 jlam Exp $
+# $NetBSD: scan-libtool,v 1.3 2004/09/24 20:44:28 jlam Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -59,6 +59,9 @@ for arg do
continue
fi
case $arg in
+ --finish)
+ lt_mode="finish"
+ ;;
--mode|-o)
prevopt="$arg"
;;
@@ -115,10 +118,10 @@ link)
append_extra_args=yes
;;
######################################################################
-# We're doing libtool execution or installation, so just invoke the
-# real libtool with all of the given arguments.
+# We're doing libtool clean, execute, finish, install, or uninstall, so
+# just invoke the real libtool with all of the given arguments.
######################################################################
-execute|install)
+execute|finish|install|uninstall)
msg_log $wrapperlog "<.> $cmd $@"
exec $cmd "$@"
;;