From 68bc1e172e6d7240325fa745db9028ff9826043b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 26 Jan 2009 18:17:57 +0000 Subject: [PATCH] libglib2: halt build early with description if host glib-genmarshal isn't found --- package/libglib2/libglib2.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2