[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Requires vs Requires.private ?



On Mon, Dec 19, 2005 at 02:18:24PM +0100, Arjan van de Ven wrote:

> you can achieve the same by giving ld the -Wl,--as-needed flag, then ld
> will just drop unused linked-to libraries. Unfortunately libtool
> effectively filters this out as well ;(

I have tried this for a BMP plugin I wrote (it links against all the
libraries BMP links against, which is rather a lot), and --as-needed
dropped far too much libraries, so I ended up with undefined symbols.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]