>>>>> On Wed, 20 Feb 2019, Michał Górny wrote: > On Wed, 2019-02-20 at 07:20 +0100, Ulrich Mueller wrote: >> > > > > > On Wed, 20 Feb 2019, Matt Turner wrote: >> >> >> > # Don't install libtool archives (even for modules) >> > - prune_libtool_files --all >> > + find "${D}" -name '*.la' -delete || die >> >> Maybe restrict removal to regular files, i.e. add "-type f"?
> I suppose you should have spoken up when people started adopting that > 'find' line all over the place. Though I honestly doubt we're going > to see many packages installing '*.la' non-files. I have updated the example in ltprune.eclass now. That still won't catch regular non-libtool files, but people needing additional sanity checks can still use the eclass. Ulrich
signature.asc
Description: PGP signature