+2003-10-19 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.
+
2003-10-19 Charles Wilson <cygwin@cwilson.fastmail.fm>
* libtoolize.in: protect sed expression against
NEWS - list of user-visible changes between releases of GNU Libtool
New in 1.5b: 2003-??-??; CVS version 1.5a, Libtool team:
+* --tag, --silent and --debug options are preserved and reused when libtool
+ calls itself for relinking etc.
* -no-suppress in compile mode shows compiler output for both PIC and non-PIC
object compilation.
* Shared objects (.lo) are no longer created when `-static' is passed in
;;
tag)
tagname="$arg"
+ preserve_args="${preserve_args}=$arg"
# Check whether tagname contains only valid characters
case $tagname in
--debug)
$echo "$progname: enabling shell trace mode"
set -x
+ preserve_args="$preserve_args $arg"
;;
--dry-run | -n)
--quiet | --silent)
show=:
+ preserve_args="$preserve_args $arg"
;;
--tag) prevopt="--tag" prev=tag ;;
set tag "$optarg" ${1+"$@"}
shift
prev=tag
+ preserve_args="$preserve_args --tag"
;;
-dlopen)
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=
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