On Tue, Feb 19, 2019 at 10:21 PM Ulrich Mueller <u...@gentoo.org> 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"?
Is that ever a problem? The 'find ...' that I replaced prune_libtool_files is a verbatim copy of what ltprune.eclass says to use instead: # Discouraged. Whenever possible, please use much simpler: # @CODE # find "${D}" -name '*.la' -delete || die # @CODE grepping the repo, I think a strong case can be made in favor of ltprune.eclass given the wide variety of ways this is open coded...