On Fri, 2005-06-03 at 09:01 +0200, Arjan van de Ven wrote: > 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. Just curious: What is wrong with the idea that the plugins link the libraries they need? Nils -- Nils Philippsen / Red Hat / nphilipp@xxxxxxxxxx "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- B. Franklin, 1759 PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011 -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-devel-list