[oe-commits] Richard Purdie : meta-environment: Set libdir correctly to fix PKGCONFIG entries

git at git.openembedded.org git at git.openembedded.org
Wed Oct 1 23:43:21 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 41f8f32c8da705ead464ee69bc5a1e120b137693
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=41f8f32c8da705ead464ee69bc5a1e120b137693

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Oct  1 09:06:19 2014 +0100

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 <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/meta/meta-environment.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
index bd90f9f..cf1a83f 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)



More information about the Openembedded-commits mailing list