Browse Source

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

Peter Korsgaard 16 years ago
parent
commit
68bc1e172e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      package/libglib2/libglib2.mk

+ 7 - 0
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