Commit 68bc1e17 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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

parent d2c6e220
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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