]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh (func_mode_link): Strip the cwrapper
authorPeter Rosin <peda@lysator.liu.se>
Thu, 12 Jul 2007 06:47:06 +0000 (06:47 +0000)
committerCharles Wilson <libtool@cwilson.fastmail.fm>
Thu, 12 Jul 2007 06:47:06 +0000 (06:47 +0000)
using $STRIP instead of relying on the tools to support -s, which
MSVC doesn't.

ChangeLog
libltdl/config/ltmain.m4sh

index 0000b409f7d7a0d65b724fbc2f4b43778a0b8d4e..cbc4b2c50aceefc3a211bfc7cea6a3a5c93dc89d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 520e84d9d6564d45612c4b9d17479753510f62b6..8ce9b8a308a2ca3d29587cb1eb8da7d885b7a2bc 100644 (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