summaryrefslogtreecommitdiff
path: root/mk/modules.mk
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-05-12 09:29:26 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-05-12 09:29:26 +0200
commit1bc4610c975bb03f4b985083bb3457ef656fe798 (patch)
treeacebe3b45f9cb0e64a4918af0cb412c7660856ab /mk/modules.mk
parentf30d2c34213ebadad0a918ac2c86e5f0b6417ba7 (diff)
Revert "gtk: require glib 2.32"
This reverts commit ce25d76161ce78c5bc0436e7e02e20935b7412cc.
Diffstat (limited to 'mk/modules.mk')
-rw-r--r--mk/modules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 4dfbf04..e0faccd 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -200,7 +200,9 @@ USE_VPX := $(shell [ -f $(SYSROOT)/include/vpx/vp8.h ] \
|| [ -f $(SYSROOT)/local/include/vpx/vp8.h ] \
|| [ -f $(SYSROOT_ALT)/include/vpx/vp8.h ] \
&& echo "yes")
-USE_GTK := $(shell pkg-config 'glib-2.0 >= 2.32' && echo "yes")
+USE_GTK := $(shell [ -f $(SYSROOT)/include/gtk-2.0/gtk/gtk.h ] || \
+ [ -f $(SYSROOT)/local/include/gtk-2.0/gtk/gtk.h ] || \
+ [ -f $(SYSROOT_ALT)/include/gtk-2.0/gtk/gtk.h ] && echo "yes")
else
# Windows.
# Accounts for mingw with Windows SDK (formerly known as Platform SDK)