Requires vs Requires.private ?
Arjan van de Ven
arjan at fenrus.demon.nl
Mon Dec 19 13:18:24 UTC 2005
On Mon, 2005-12-19 at 07:04 -0600, Rex Dieter wrote:
> Alexander Larsson wrote:
>
> > If A Requires.private: B, that means libA links to libB, but apps/libs
> > that link to libA does not have to link to libB (when linking
> > dynamically on platforms that support library dependencies, like Linux).
>
> Very nice. Avoids library linking bloat. Too bad libtool archives
> don't include a "private" feature (at least, AFAIK they don't).`\
you can achieve the same by giving ld the -Wl,--as-needed flag, then ld
will just drop unused linked-to libraries. Unfortunately libtool
effectively filters this out as well ;(
More information about the fedora-devel-list
mailing list