diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-01 09:06:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-01 09:07:49 +0100 |
commit | 41f8f32c8da705ead464ee69bc5a1e120b137693 (patch) | |
tree | 7e754dc4c56785b11e7a3b51ef931753e5ef9646 /meta/recipes-core | |
parent | d31fc181005734953c70ba9338d6a5eb88b6fe8b (diff) | |
download | openembedded-core-41f8f32c8da705ead464ee69bc5a1e120b137693.tar.gz openembedded-core-41f8f32c8da705ead464ee69bc5a1e120b137693.tar.bz2 openembedded-core-41f8f32c8da705ead464ee69bc5a1e120b137693.zip |
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@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/meta/meta-environment.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb index bd90f9fd7c..cf1a83f8f8 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) |