From 9e9d45124a83b45394162ad111af76b5cef68dc8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 12 Aug 2010 14:36:49 +0100 Subject: 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 --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/conf') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index dc68de200..5a4013d2f 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -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" -- cgit v1.2.3