Skip to contentSkip to conversation

make: depend on guile explicitly when available

PATCH New Baruch Siach 2 participants 2 messages Feb 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make: depend on guile explicitly when available

---
 package/make/make.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/make/make.mk +7 -0
index d643fb0004bf..6e7a8f1aedf9 100644
@@ -16,4 +16,11 @@ ifeq ($(BR2_STATIC_LIBS),y)
 	MAKE_CONF_OPTS += --disable-load
 endif
 
+ifeq ($(BR2_PACKAGE_GUILE),y)
+MAKE_DEPENDENCIES += guile
+MAKE_CONF_OPTS += --with-guile
+else
+MAKE_CONF_OPTS += --without-guile
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.1.4