On Thu, Sep 28, 2017 at 10:43 AM, Ian Stakenvicius <[email protected]> wrote:
> On 28/09/17 10:23 AM, Thomas Deutschmann wrote:
>> Hi,
>>
>> sounds like we should convert to prune_libtool_files usage from
>> ltprune.eclass.
>>
>> However, the eclass says
>>
>>> # Discouraged. Whenever possible, please use much simpler:
>>> # find "${D}" -name '*.la' -delete || die
>>
>> So this would need clarification.
>>
>>
>
> *.la shouldn't be matching *.dll.a , this seems like a globbing error
> if that find command is what's being used. Maybe we've just been
> erroneously not escaping the '.' in the find command??
*.la doesn't match *.dll.a.
The ncurses ebuild has this dubious line of code:
use static-libs || find "${ED}"/usr/ -name '*.a' -delete