libglib2: halt build early with description if host glib-genmarshal isn't found
This commit is contained in:
parent
d2c6e22040
commit
68bc1e172e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user