Attached is a new eclass, tested on arm, which removes the need for libarchives in Makefile dependency lists, instead use the linker to find the needed libraries. This is needed in cross-compiling environments and situations where INSTALL_MASK contains "*.la"
Created attachment 250229 [details] gst-plugins-base.eclass
Created attachment 250285 [details, diff] gst-plugins-base.eclass.patch
Feel free to explain your use case on the duplicate bug. And you mean libtool archives, as "libarchives" is confusing in existence of a libarchive project that abstract file (un)compressors. Also be very careful with INSTALL_MASK="*.la", some projects actually require them and will break oddly if not found (those that use libltdl and have a libtool RDEPEND, as opposed to just DEPEND). The typical embedded use case that I imagine is to build binary packages without such an INSTALL_MASK and then install from those binary packages with an appropriate INSTALL_MASK of *.h, *.a and careful *.la and so on, thus not hitting such a problem. *** This bug has been marked as a duplicate of bug 300256 ***