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.

(From OE-Core rev: 4ac692422526a2924602df410d7562b31d36c0ae)

Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Randy Li
2020-12-29 11:55:50 +08:00
committed by Richard Purdie
parent ff036cbb77
commit e1d6b3fbcb

View File

@@ -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}'