10-csw-cygwin-install-strip.patch

Charles Wilson cygwin@cwilson.fastmail.fm
Thu Oct 28 18:17:00 GMT 2004


On cygwin, 'make install-strip' in a libtoolized, automake-driven 
project ends up stripping the import library, instead of the DLL.  This 
is bad: not only is the DLL unstripped, but stripping an import library 
can sometimes break it, and make the installed lib unlinkable.

e.g. this command:

/bin/sh ../libtool --mode=install /usr/bin/install -c -s 'libgg.la'
'/usr/lib/libgg.la'

does the wrong thing.

The following patch was submitted on the cygwin list by Peter Ekberg. 
It fixes this problem, and incurs no regressions in the testsuite when I 
used it.

--
Chuck
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10-csw-cygwin-install-strip.changelog
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041028/bf16e989/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10-csw-cygwin-install-strip.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041028/bf16e989/attachment-0001.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list