diff options
author | jlam <jlam> | 2004-09-24 20:44:28 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-09-24 20:44:28 +0000 |
commit | c6abd3dd26cf549152feb6e4d62489f64d513dc7 (patch) | |
tree | e1b62884cadae4945145c36c9603d26fb2c249b2 /mk/buildlink3 | |
parent | ae479990248217cc422ee780d4eb0450669fa000 (diff) | |
download | pkgsrc-c6abd3dd26cf549152feb6e4d62489f64d513dc7.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-libtool | 11 |
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 "$@" ;; |