On Thu, 2005-06-02 at 19:11 -0400, Havoc Pennington wrote: > 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? it can't be default realistically and is a per lib thing: making it default prevents the situation where an app links to a library in order to provide this service for plugins.
Attachment:
signature.asc
Description: This is a digitally signed message part
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-devel-list