On Thursday 19 June 2008 13:08:09 Rémi Cardona wrote: > 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.
I wouldn't be opposed to that, as long as there's a way to override it for people who need to. > > 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. Well... the point is that removing them is a (potential) incompatibility with the package as shipped by upstream. As with the previous point, I suppose I could tolerate doing it by default, as long as users can choose to install them if they need. -- gentoo-dev@lists.gentoo.org mailing list