]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
meta-environment: Set libdir correctly to fix PKGCONFIG entries
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2014 08:06:19 +0000 (09:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2014 08:07:49 +0000 (09:07 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/meta-environment.bb

index bd90f9fd7cab95c75d35b1d2da21c4b66e74f34a..cf1a83f8f89092f38b04c33fd6f7881018c9486d 100644 (file)
@@ -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)