What next?

Arjan van de Ven arjanv at redhat.com
Fri Jun 3 07:01:35 UTC 2005


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050603/890c160d/attachment.sig>


More information about the fedora-devel-list mailing list