]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Charles Wilson <cygwin@cwilson.fastmail.fm>
authorKevin P. Fleming <kpfleming@backtobasicsmgmt.com>
Fri, 23 Jan 2004 06:04:39 +0000 (06:04 +0000)
committerScott James Remnant <scott@netsplit.com>
Fri, 23 Jan 2004 06:04:39 +0000 (06:04 +0000)
* ltmain.in: include --tag options, if specified, in the
relink_command in uninstalled .la files.  Also, preserve --silent,
--debug options when libtool re-execs itself.
* NEWS: Updated.

ChangeLog
ltmain.in

index 6c33855dd93687a17985d5098f31cc9ba2e3f4af..0e2cdfefa204e94c1c7f023b97087d2a3b247718 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-01-23  Kevin P. Fleming  <kpfleming@backtobasicsmgmt.com>
+       Charles Wilson <cygwin@cwilson.fastmail.fm>
+                                                                               
+       * ltmain.in: include --tag options, if specified, in the
+       relink_command in uninstalled .la files.  Also, preserve --silent,
+       --debug options when libtool re-execs itself.
+       * NEWS: Updated.
+
 2004-01-23  James Henstridge  <james@daa.com.au>,
        Scott James Remnant  <scott@netsplit.com>
 
index 9ccfaec35196eecc110b56b261a5ec3024cf50e8..6a6a053eb63d615e96acb9772f8c74add8785a4d 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -176,6 +176,7 @@ do
       ;;
     tag)
       tagname="$arg"
+      preserve_args="${preserve_args}=$arg"
 
       # Check whether tagname contains only valid characters
       case $tagname in
@@ -238,6 +239,7 @@ do
   --debug)
     $echo "$progname: enabling shell trace mode"
     set -x
+    preserve_args="$preserve_args $arg"
     ;;
 
   --dry-run | -n)
@@ -268,6 +270,7 @@ do
 
   --quiet | --silent)
     show=:
+    preserve_args="$preserve_args $arg"
     ;;
 
   --tag) prevopt="--tag" prev=tag ;;
@@ -275,6 +278,7 @@ do
     set tag "$optarg" ${1+"$@"}
     shift
     prev=tag
+    preserve_args="$preserve_args --tag"
     ;;
 
   -dlopen)
@@ -5097,7 +5101,7 @@ fi\
        fi
       done
       # Quote the link command for shipping.
-      relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
+      relink_command="(cd `pwd`; $SHELL $0 $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
       relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
       if test "$hardcode_automatic" = yes ; then
         relink_command=
@@ -5722,7 +5726,7 @@ relink_command=\"$relink_command\""
     if test -n "$current_libdirs"; then
       # Maybe just do a dry run.
       test -n "$run" && current_libdirs=" -n$current_libdirs"
-      exec_cmd='$SHELL $0 --finish$current_libdirs'
+      exec_cmd='$SHELL $0 $preserve_args --finish$current_libdirs'
     else
       exit 0
     fi