[poky] [patch] autotools: Remove .la files by default

Koen Kooi koen at dominion.thruhere.net
Tue Mar 29 09:35:22 PDT 2011


Op 29 mrt 2011, om 18:15 heeft Colin Walters het volgende geschreven:

> On Tue, Mar 29, 2011 at 12:03 PM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> 
>> So no, I'm not going to merge this patch at this time. If we were going
>> to do something like this I'd rather thrown out libtool entirely and
>> switch to something like dolt.
> 
> Would you take an option, off by default then?  I definitely do not
> want these files in my OS; I could remove them in a
> ROOTFS_POSTPROCESS_COMMAND, but it'd be even better to do in after
> each build.
> 
>> Also note in your gnome shell link above that its listed as required
>> because of "the dirty hacks that jhbuild plays to get it to sandbox your
>> system" which is hardly a glowing recommendation. We don't have this
>> problem.
> 
> The core problem arises in that often for developers it's convenient
> to do partial builds; say only rebuild glib and gtk+, but not rebuild
> pango (which lies between them).  What the libtool pango.la file does
> is add -L/usr/lib which is 1) unnecessary and 2) forces the linker
> search first in /usr/lib instead of /opt/gnome like we want.

Isn't that why we have libtool sysroot support? Or does that break with the split you describe above?

regards,

Koen


More information about the poky mailing list