projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2c6e22
)
libglib2: halt build early with description if host glib-genmarshal isn't found
author
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 26 Jan 2009 18:17:57 +0000
(18:17 -0000)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 26 Jan 2009 18:17:57 +0000
(18:17 -0000)
package/libglib2/libglib2.mk
patch
|
blob
|
history
diff --git
a/package/libglib2/libglib2.mk
b/package/libglib2/libglib2.mk
index db4d92e4fdbaa05b726d2ad72ed72b2626bfa924..2cf2459dcfaa17ed7efb22c414269036a9cdf168 100644
(file)
--- 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