David Leverton a écrit :
Not for library consumers that use libtool but not pkgconfig.
I'd be in favor of having a _default_ configuration for Gentoo where static binaries are never built except for some key packages (mainly for rescue situations).
That way, in a dynamic-lib only system, libtool will expand -l<name> to <name>.so. Simple and easy.
As Diego and others have been on a crusade to make sure that system libs are used instead of bundled libs, static libs should also be outcast.
Why only plugins? What's to stop an application from loading a "normal" library using libtool's dlopen wrapper (perhaps so it can fail gracefully if the library is missing, for example)?
Nothing per se, but I have yet to see any FOSS application dlopen() gtk+ or libpng.
*None* of the binary distros out there ship .la files by default. Those come with -devel packages. Proof that they are (almost) never needed.
And if an application chooses to dlopen() gtk+ or libpng, the ELF headers contain all the dependencies, so the actual content of the .la file is also useless in that case.
Cheers :) Rémi -- gentoo-dev@lists.gentoo.org mailing list