summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-11 15:43:47 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-11 15:43:47 +0000
commit366137edc6c7770433d732afc09edb3afdc94e72 (patch)
treeabac310ef497faa141d79d5c7f32506c8c618f86
parent2bb4de2058f189285297bc7dfb4fdf430162fe64 (diff)
downloadbuildroot-novena-366137edc6c7770433d732afc09edb3afdc94e72.tar.gz
buildroot-novena-366137edc6c7770433d732afc09edb3afdc94e72.zip
gmpc: needs gob2 installed on host, so check for it
-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