* 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.
* 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.
Index: libtool/libltdl/config/ltmain.m4sh
===================================================================
--- libtool.orig/libltdl/config/ltmain.m4sh
+++ libtool/libltdl/config/ltmain.m4sh
@@ -6811,7 +6811,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