From: Peter Korsgaard Date: Mon, 26 Jan 2009 18:17:57 +0000 (-0000) Subject: libglib2: halt build early with description if host glib-genmarshal isn't found X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68bc1e172e6d7240325fa745db9028ff9826043b;p=buildroot.git libglib2: halt build early with description if host glib-genmarshal isn't found --- diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index db4d92e4fd..2cf2459dcf 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