libtool 2.2.6a: LDFLAGS ignored when building a shared lib?
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Feb 10 09:18:00 GMT 2009
On Feb 9 20:09, Charles Wilson wrote:
> Corinna Vinschen wrote:
> > I have a problem using libtool 2.2.6a.
> [snip]
> > So there's the `-static-libgcc' twice in the libtool comamnd line when
> > called from make. But when libtool calls gcc, nothing's left of it. I
> > understand why CFLAGS is missing, but why did it filter out LDFLAGS as
> > well? And, if that's normal, why, and how do I workaround that?
>
> I believe it is a long-standing bug, mentioned here:
> http://lists.gnu.org/archive/html/bug-libtool/2005-10/msg00004.html
> but IIRC the promised patch was never produced.
>
> Try Ralf's suggested workaround, configuring your entire package with
> CC='gcc -static-libcc' and/or CXX='g++ -static-libgcc'.
>
> If that works, then I'll ping Ralf on fixing this bug.
That works.
Thank you,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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