summaryrefslogtreecommitdiff
path: root/package/gmpc/gmpc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gmpc/gmpc.mk')
-rw-r--r--package/gmpc/gmpc.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/gmpc/gmpc.mk b/package/gmpc/gmpc.mk
index 3bb168f9b..95795ddbe 100644
--- a/package/gmpc/gmpc.mk
+++ b/package/gmpc/gmpc.mk
@@ -20,3 +20,10 @@ GMPC_CONF_OPT += --disable-sm
endif
$(eval $(call AUTOTARGETS,package,gmpc))
+
+# we NEED a host gob2
+ifeq ($(BR2_PACKAGE_GMPC),y)
+ifeq ($(wildcard $(shell which gob2 || echo /usr/bin/gob2)),)
+$(error Host gob2 not found. Please install GTK+ Object Builder package on your host (something like gob2))
+endif
+endif