From: Ross Burton Date: Tue, 18 Jun 2019 10:47:35 +0000 (+0100) Subject: binconfig: don't try to fix up .la files X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~14153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4e2cd3f70243f52215f8c92bcd7eb088a9b9f6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git binconfig: don't try to fix up .la files If we're going to clean buildpaths from installed .la files then we should do it globally, not in a class that only six recipes in oe-core use. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass index 133b9537cf0..9112ed46085 100644 --- a/meta/classes/binconfig.bbclass +++ b/meta/classes/binconfig.bbclass @@ -40,15 +40,6 @@ binconfig_package_preprocess () { -e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \ $config done - for lafile in `find ${PKGD} -type f -name "*.la"` ; do - sed -i \ - -e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \ - -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ - -e 's:${STAGING_INCDIR}:${includedir}:g;' \ - -e 's:${STAGING_DATADIR}:${datadir}:' \ - -e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \ - $lafile - done } SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess"