]> code.ossystems Code Review - openembedded-core.git/commitdiff
meson: Add sysroot property to nativesdk-meson
authorRandy Li <ayaka@soulik.info>
Tue, 29 Dec 2020 03:55:50 +0000 (11:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Jan 2021 17:43:54 +0000 (17:43 +0000)
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>
meta/recipes-devtools/meson/nativesdk-meson_0.56.0.bb

index 67add2c25e1b56f3da7c2838d0066b2d5243a1b1..7fdc4c86d939735a93d766da1325b2390feebbac 100644 (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}'