On Wed, Feb 20, 2008 at 11:24:56PM +0200, Elan Ruusamäe wrote:
> here's build log one sample program  libtunepimp:
> http://glen.alkohol.ee/pld/libtunepimp.2008-02-20_23-17-35.bz2

It looks like Ac. And which libtool version (patches) are you using?

-as-needed has effect only on libraries specified after this option.
When passed after libraries (like in that log) it has no effect.
Th uses hacked libtool to place flags before libraries[1], so -as-needed
actually could work.


[1] still not perfect, as it's not possible to do
-Wl,-no-as-needed -lsome-lib -Wl,-as-needed -lother-lib
- but with unpatched libtool it doesn't work either)

-- 
Jakub Bogusz    http://qboosh.pl/
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to