* libltdl/config/ltmain.m4sh (func_mode_link): Strip the cwrapper

using $STRIP instead of relying on the tools to support -s, which
MSVC doesn't.
This commit is contained in:
Peter Rosin 2007-07-12 06:47:06 +00:00 committed by Charles Wilson
parent 688e0a551c
commit 5a3cf05510
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-07-12 Peter Rosin <peda@lysator.liu.se>
* libltdl/config/ltmain.m4sh (func_mode_link): Strip the cwrapper
using $STRIP instead of relying on the tools to support -s, which
MSVC doesn't.
2007-07-06 Peter O'Gorman <peter@pogma.com
* libltdl/config/libtool.m4sh: Don't pass -msg_* through to the

View File

@ -6804,7 +6804,10 @@ EOF
# are only useful if you want to execute the "real" binary.
# Since the "real" binary is built for $host, then this
# wrapper might as well be built for $host, too.
$opt_dry_run || $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
$opt_dry_run || {
$LTCC $LTCFLAGS -o $cwrapper $cwrappersource
$STRIP $cwrapper
}
# Now, create the wrapper script for func_source use:
func_ltwrapper_scriptname $cwrapper