bitbake.conf: Set PKG_CONFIG_LIBDIR
If this isn't set, pkg-config will use its inbuilt paths which mean it can end up looking in the native sysroot. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
889c8ed31a
commit
9e9d45124a
|
@ -582,6 +582,7 @@ SLOT = "0"
|
|||
|
||||
export PKG_CONFIG_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig"
|
||||
export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig"
|
||||
export PKG_CONFIG_LIBDIR = "${PKG_CONFIG_DIR}"
|
||||
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
|
||||
export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
|
||||
|
||||
|
|
Loading…
Reference in New Issue