From: Fabrice Fontaine Date: Sun, 8 Dec 2019 16:27:23 +0000 (+0100) Subject: package/bitcoin: add optional libminiupnpc dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0c48090f47e7d9baa9f3649f5dd90a3cacb1609;p=buildroot.git package/bitcoin: add optional libminiupnpc dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/bitcoin/bitcoin.mk b/package/bitcoin/bitcoin.mk index 7373bf4106..c01cacb0df 100644 --- a/package/bitcoin/bitcoin.mk +++ b/package/bitcoin/bitcoin.mk @@ -17,4 +17,11 @@ BITCOIN_CONF_OPTS = \ --with-boost-libdir=$(STAGING_DIR)/usr/lib/ \ --disable-hardening +ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y) +BITCOIN_DEPENDENCIES += libminiupnpc +BITCOIN_CONF_OPTS += --with-miniupnpc +else +BITCOIN_CONF_OPTS += --without-miniupnpc +endif + $(eval $(autotools-package))