From e0c48090f47e7d9baa9f3649f5dd90a3cacb1609 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 8 Dec 2019 17:27:23 +0100 Subject: [PATCH] package/bitcoin: add optional libminiupnpc dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/bitcoin/bitcoin.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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)) -- 2.30.2