Change to DSO-linking semantics of the compiler
Jussi Lehtola
jussilehtola at fedoraproject.org
Wed Jan 13 11:34:26 UTC 2010
On Wed, 2010-01-13 at 12:23 +0100, Michael Schwendt wrote:
> On Tue, 12 Jan 2010 19:54:40 -0500, Matthias wrote:
>
> > > The old semantics made this case work without the .la file, the new
> > > semantics lead to programs failing to link in Fedora, making Fedora
> > > incompatible with upstream (unless we start to ship .la files again).
> >
> > .pc files handle this just fine.
>
> Only with --as-needed. Else the .pc file's "Requires" lead to over-linking
> with libraries that aren't needed by the build target. Same for the
> inter-dependencies in .la files.
So is --as-needed within the current default flags?
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org
More information about the devel
mailing list