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 <[email protected]>
---
 meta/classes/binconfig.bbclass | 9 ---------
 1 file changed, 9 deletions(-)

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"
-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to