summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorCharles Lehner <cel@celehner.com>2016-05-09 15:35:01 -0400
committerCharles Lehner <cel@celehner.com>2016-05-09 15:35:01 -0400
commitce25d76161ce78c5bc0436e7e02e20935b7412cc (patch)
tree6691057cd44ba3a564f434e330d246859fcebe68 /mk
parent7dbe815c95fc785866a8e08b5994ba09c91eecf1 (diff)
gtk: require glib 2.32
Fix #122
Diffstat (limited to 'mk')
-rw-r--r--mk/modules.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index e0faccd..4dfbf04 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -200,9 +200,7 @@ 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 [ -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")
+USE_GTK := $(shell pkg-config 'glib-2.0 >= 2.32' && echo "yes")
else
# Windows.
# Accounts for mingw with Windows SDK (formerly known as Platform SDK)