summaryrefslogtreecommitdiffstats
path: root/package/libglib2/libglib2.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 18:17:57 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 18:17:57 +0000
commit68bc1e172e6d7240325fa745db9028ff9826043b (patch)
tree96d28e1bfa543795f46862a276e28076b5af4979 /package/libglib2/libglib2.mk
parentd2c6e22040fa7c4974d3dc59e635d827f29dff02 (diff)
downloadbuildroot-novena-68bc1e172e6d7240325fa745db9028ff9826043b.tar.gz
buildroot-novena-68bc1e172e6d7240325fa745db9028ff9826043b.zip
libglib2: halt build early with description if host glib-genmarshal isn't found
Diffstat (limited to 'package/libglib2/libglib2.mk')
-rw-r--r--package/libglib2/libglib2.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index db4d92e4f..2cf2459dc 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -62,3 +62,10 @@ LIBGLIB2_DEPENDENCIES+=libiconv
endif
$(eval $(call AUTOTARGETS,package,libglib2))
+
+# we NEED a host glib-genmarshal
+ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
+ifeq ($(wildcard $(HOST_GLIB)/bin/glib-genmarshal),)
+$(error Host glib-genmarshal not found. Please install glib development package on your host (something like libglib2.0-dev))
+endif
+endif