diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-10-09 19:38:39 +0000 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-10-13 17:21:24 -0700 |
commit | c04b2d70a1d1816b925a21d40dbc539bf68162c3 (patch) | |
tree | 0e627713d0f7d6cf4cc8764d6c4c4b1dac3fbb3a /conf/bitbake.conf | |
parent | 2d25a816f08fc96daa6d1abff0ece764b3d8f80d (diff) | |
download | openembedded-c04b2d70a1d1816b925a21d40dbc539bf68162c3.tar.gz |
bitbake.conf: fix pkg-config relocation issue
By default, pkg-config falls back to checking the default search path for .pc
files, which is the native location. If you relocate it, it will be unable to
hit that location, which can cause problems in certain cases. In particular,
gnome-bluetooth requires gtk-doc-native to run its tools, and uses pkg-config
to determine its availability.
Fix by adding the native pkg-config locations to the PKG_CONFIG_PATH.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r-- | conf/bitbake.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 7f01f8f658..573f7ff4e6 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -641,8 +641,9 @@ SLOT = "0" # Other -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_PATH = "${STAGING_LIBDIR}/pkgconfig:${STAGING_DATADIR}/pkgconfig" +PKG_CONFIG_PATH .= ":${STAGING_LIBDIR_NATIVE}/pkgconfig:${STAGING_DATADIR_NATIVE}/pkgconfig" + export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" |