diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-26 18:17:57 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-26 18:17:57 +0000 |
commit | 68bc1e172e6d7240325fa745db9028ff9826043b (patch) | |
tree | 96d28e1bfa543795f46862a276e28076b5af4979 /package/libglib2 | |
parent | d2c6e22040fa7c4974d3dc59e635d827f29dff02 (diff) | |
download | buildroot-novena-68bc1e172e6d7240325fa745db9028ff9826043b.tar.gz buildroot-novena-68bc1e172e6d7240325fa745db9028ff9826043b.zip |
libglib2: halt build early with description if host glib-genmarshal isn't found
Diffstat (limited to 'package/libglib2')
-rw-r--r-- | package/libglib2/libglib2.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index db4d92e4f..2cf2459dc 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 |