summaryrefslogtreecommitdiffstats
path: root/package/libgtk3
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-10-16 13:52:57 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-10-16 13:52:57 +0200
commit307df2883ed6f0ca583f8d6c9b87a9789d122507 (patch)
tree0639115591e8fb5d5698a8528ceb9d1207f1c676 /package/libgtk3
parenta9c30099aaac4c51c7af42d0a9853797f06137d6 (diff)
downloadbuildroot-307df2883ed6f0ca583f8d6c9b87a9789d122507.tar.gz
buildroot-307df2883ed6f0ca583f8d6c9b87a9789d122507.zip
libgtk3: ensure host version of pkg-config is used for native compilation
This already was in Eric's submission, but I removed it when committing while cleaning up. The package infrastructure already passes the correct pkg-config to use for cross compilation, but NOT for building native tools, so we ended up using the target variant and got wrong libraries/headers. Fixes: http://autobuild.buildroot.net/results/e0c/e0c2623e2d400ce66963eae23f136c0158556b36/ http://autobuild.buildroot.net/results/5bf/5bf66b8d16a3ddded24827bf278ad24b55ded6e7/ http://autobuild.buildroot.net/results/75f/75f93cea8ab59f052ddefa51c0bfc14c3df47a60/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libgtk3')
-rw-r--r--package/libgtk3/libgtk3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libgtk3/libgtk3.mk b/package/libgtk3/libgtk3.mk
index a9a681d9b3..73b3e173e4 100644
--- a/package/libgtk3/libgtk3.mk
+++ b/package/libgtk3/libgtk3.mk
@@ -15,7 +15,8 @@ LIBGTK3_AUTORECONF = YES
LIBGTK3_CONF_ENV = \
ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \
- ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource
+ ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \
+ PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/usr/bin/pkgconf
LIBGTK3_CONF_OPTS = --disable-glibtest \
--enable-explicit-deps=no \
OpenPOWER on IntegriCloud