libglib2: halt build early with description if host glib-genmarshal isn't found

This commit is contained in:
Peter Korsgaard 2009-01-26 18:17:57 +00:00
parent d2c6e22040
commit 68bc1e172e

View File

@ -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