summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)