Re: [gentoo-dev] [PATCH eutils] prune_libtool_files: do not remove non-libtool .la files.

2013-05-15 Thread Michał Górny
On Fri, 3 May 2013 17:54:36 +0200 Michał Górny mgo...@gentoo.org wrote: Let's assume that all libtool files have a consistent format and contain a line stating 'shouldnotlink=(yes|no)'. We use that to distinguish modules from libraries, so we can as well use it to validate the .la file to

[gentoo-dev] [PATCH eutils] prune_libtool_files: do not remove non-libtool .la files.

2013-05-03 Thread Michał Górny
Let's assume that all libtool files have a consistent format and contain a line stating 'shouldnotlink=(yes|no)'. We use that to distinguish modules from libraries, so we can as well use it to validate the .la file to avoid removing non-libtool .la files. This should also make the big 'if' a bit