mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 06:32:34 +02:00
bitbake.conf/native/nativesdk: Set PKG_CONFIG_SYSTEM_ at top level
Setting PKG_CONFIG_SYSTEM_{HEADERS/INCLUDE}_PATH for nativesdk isn't
enough, we also need to deal with multlib cases where libdir from
pkg-config-native isn't correct. Native builds are about the only
case where this variable shouldn't be set.
Therefore move the code from nativesdk to bitbake.conf and unexport it
in the native case.
(From OE-Core rev: 46c48c26ab1916e2dfb841d74a0f2a58d8b2b870)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -106,6 +106,8 @@ PKG_CONFIG_DIR = "${libdir}/pkgconfig"
|
||||
EXTRA_NATIVE_PKGCONFIG_PATH ?= ""
|
||||
PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}"
|
||||
PKG_CONFIG_SYSROOT_DIR = ""
|
||||
PKG_CONFIG_SYSTEM_LIBRARY_PATH[unexport] = "1"
|
||||
PKG_CONFIG_SYSTEM_INCLUDE_PATH[unexport] = "1"
|
||||
|
||||
# we dont want libc-uclibc or libc-glibc to kick in for native recipes
|
||||
LIBCOVERRIDE = ""
|
||||
|
||||
Reference in New Issue
Block a user