[OE-core] [PATCH 00/17] Various QA/unpackaged files cleanups

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 6 08:03:30 UTC 2011


On Tue, 2011-07-05 at 23:59 -0300, Otavio Salvador wrote:
> On Tue, Jul 5, 2011 at 19:51, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > This patch series is for a number of QA/unpackaged files cleanups.
> 
> I noticed you have added .la files in some packages. This seems wrong
> and useless. In fact I am making a local patchset to drop them all and
> I have most build working (fixing last things before posting for
> review).
> 
> It seems very wrong to depend on .la files for linking and pkg-config
> seems to be the most right solution when possible.

.la files are an interesting problem. I'm not overly fond of them but
even in this modern age they can help on certain targets like darwin and
they can help with static linking since they have dependency information
that often hasn't been added into the .pc files. We don't often do
either of those things but in general the .la files are pretty harmless.

With regard to the patch series, it just adds .la files to -dev packages
so the only impact is to development images and even there its small.

If you wanted to clean things up, dropping all the binconfig scripts
would IMO be a much more useful effort as those are much more ugly to
handle and bug ridden. At least libtool has some notion of sysroot
support these days!

Cheers,

Richard






More information about the Openembedded-core mailing list