gmpc: needs gob2 installed on host, so check for it
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 11 Mar 2009 15:43:47 +0000 (15:43 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 11 Mar 2009 15:43:47 +0000 (15:43 -0000)
package/gmpc/gmpc.mk

index 3bb168f9bbd97fdf7909f06916d3092d40fb9145..95795ddbe77d01a524e26634245fcf35c5e32286 100644 (file)
@@ -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