summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-12 14:36:49 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 14:41:30 +0100
commit9e9d45124a83b45394162ad111af76b5cef68dc8 (patch)
tree8cf0d216671fa6fd0b9252866ffbf5eee00d1f07
parent889c8ed31ae152c37c8e3285166a800ed6e8c72f (diff)
downloadopenembedded-core-9e9d45124a83b45394162ad111af76b5cef68dc8.tar.gz
openembedded-core-9e9d45124a83b45394162ad111af76b5cef68dc8.tar.bz2
openembedded-core-9e9d45124a83b45394162ad111af76b5cef68dc8.tar.xz
openembedded-core-9e9d45124a83b45394162ad111af76b5cef68dc8.zip
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>
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
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"