make: depend on guile explicitly when available

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Baruch Siach 2015-02-26 20:41:26 +02:00 committed by Peter Korsgaard
parent 5d15655964
commit 38ee8a8e16

View File

@ -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))