What next?

Havoc Pennington hp at redhat.com
Thu Jun 2 23:11:27 UTC 2005


On Wed, 2005-06-01 at 22:21 +0200, Arjan van de Ven wrote:
> pkg-config is fixable!
> We need to teach it about -Wl,as-needed which causes the linker only to add
> a lib when the app directly uses it.

I don't really see why this should go in pkg-config... pkg-config isn't
where we set default link flags for the distribution, it's a way to
learn about specific libs.

Why not just make ld do this by default, or put it in the rpm build
config? Is there something we need to know about specific libraries when
we decide whether we want as-needed?

Havoc





More information about the devel mailing list