diff options
author | Randy Li <ayaka@soulik.info> | 2020-12-29 11:55:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-12 17:43:54 +0000 |
commit | 4ac692422526a2924602df410d7562b31d36c0ae (patch) | |
tree | 2acf09ca58d50541bdfaf42188c63003efb30b19 /meta/recipes-devtools/meson | |
parent | 063b5de86624a42b0aa784db6dddc7552a6dee7f (diff) | |
download | openembedded-core-contrib-4ac692422526a2924602df410d7562b31d36c0ae.tar.gz |
meson: Add sysroot property to nativesdk-meson
I know the environment setup script would set PKG_CONFIG_PATH,
but the meson won't take that env when translate the includedir
property from the pkg-config.
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/meson')
-rw-r--r-- | meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb index 67add2c25e..7fdc4c86d9 100644 --- a/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb +++ b/meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb @@ -40,6 +40,7 @@ c_args = @CFLAGS c_link_args = @LDFLAGS cpp_args = @CPPFLAGS cpp_link_args = @LDFLAGS +sys_root = @OECORE_TARGET_SYSROOT [host_machine] system = '${SDK_OS}' |