From: Richard Purdie Date: Wed, 1 Oct 2014 08:06:19 +0000 (+0100) Subject: meta-environment: Set libdir correctly to fix PKGCONFIG entries X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41f8f32c8da705ead464ee69bc5a1e120b137693;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git meta-environment: Set libdir correctly to fix PKGCONFIG entries Currently libdir is coming from cross-canadian which is incorrect. We need to reset this to target_libdir so that the toolchains contain the correct value. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb index bd90f9fd7ca..cf1a83f8f89 100644 --- a/meta/recipes-core/meta/meta-environment.bb +++ b/meta/recipes-core/meta/meta-environment.bb @@ -29,6 +29,7 @@ python do_generate_content() { # make sure we only use the SDKTARGETSYSROOT value from 'd' localdata.setVar('SDKTARGETSYSROOT', d.getVar('SDKTARGETSYSROOT', True)) + localdata.setVar('libdir', d.getVar('target_libdir', False)) # Process DEFAULTTUNE bb.build.exec_func("create_sdk_files", localdata)