]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Set PKG_CONFIG_LIBDIR
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 12 Aug 2010 13:36:49 +0000 (14:36 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 12 Aug 2010 13:41:30 +0000 (14:41 +0100)
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>
meta/conf/bitbake.conf

index dc68de2003387b74d930dbf330818d1efaa01344..5a4013d2f767a8cff6bb55b8edf87800152b378f 100644 (file)
@@ -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"