What next?

Arjan van de Ven arjanv at redhat.com
Thu Jun 2 07:19:52 UTC 2005


On Thu, 2005-06-02 at 02:37 -0400, Jakub Jelinek wrote:
> On Thu, Jun 02, 2005 at 07:16:18AM +0100, Mike Hearn wrote:
> > Libs: $(foo) -lbar -lbaz
> > 
> > Where foo could be defined internally as either "" in the portable
> > upstream version or "--as-needed" in the downstream version.
> 
> Note that it would need to be
> Libs: $(foo) -lbar -lbaz $(no_foo)
> foo = --as-needed
> no_foo = --no-as-needed

or better

Libs: -lbar
NeededLibs: -lbaz

where pkg-config collects the various groups together, dedupes and then
either issues --as-needed ... --no-as-needed around them (gnu-ld) or
just put them there (non-gnu-ld).

Not rocket science.. and takes those 2 days ;)

-------------- 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/20050602/dc617dfb/attachment.sig>


More information about the fedora-devel-list mailing list