From: Randy Li Date: Tue, 29 Dec 2020 03:55:50 +0000 (+0800) Subject: meson: Add sysroot property to nativesdk-meson X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~9119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ac692422526a2924602df410d7562b31d36c0ae;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- 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 67add2c25e1..7fdc4c86d93 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}'