summaryrefslogtreecommitdiffstats
path: root/package/pkg-config
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-03-27 21:20:04 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-03-27 21:20:04 +0200
commit6a86dd9c8eb0238a4bb8ffdd0fb04e62c12739fb (patch)
tree6ed078efea0fa2e8bc22a1ec9d33c4a84b492fda /package/pkg-config
parent808f98e3ebc0bce5f96052fa0557ff68d33659d5 (diff)
downloadbuildroot-novena-6a86dd9c8eb0238a4bb8ffdd0fb04e62c12739fb.tar.gz
buildroot-novena-6a86dd9c8eb0238a4bb8ffdd0fb04e62c12739fb.zip
pkg-config: add usr/share/pkgconfig to search path as well
A few packages (like xlib_xtrans) install their .pc files here, and upstream pkg-config defaults to searching both /usr/lib/pkgconfig and /usr/share/pkgconfig, so add it as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/pkg-config')
-rw-r--r--package/pkg-config/pkg-config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-config/pkg-config.mk b/package/pkg-config/pkg-config.mk
index bb52db87d..7189c91aa 100644
--- a/package/pkg-config/pkg-config.mk
+++ b/package/pkg-config/pkg-config.mk
@@ -12,7 +12,7 @@ PKG_CONFIG_DEPENDENCIES = libglib2
PKG_CONFIG_CONF_OPT = --with-installed-glib
HOST_PKG_CONFIG_CONF_OPT = \
- --with-pc-path="$(STAGING_DIR)/usr/lib/pkgconfig" \
+ --with-pc-path="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig" \
--with-sysroot="$(STAGING_DIR)" \
--disable-static