package/bitcoin: add optional zeromq dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 8 Dec 2019 16:27:25 +0000 (17:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 8 Dec 2019 21:49:18 +0000 (22:49 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/bitcoin/bitcoin.mk

index db9e9ab90c3b5ee9580a9d3b828364d0e0409cd7..a3ac45e104050685476abba53392b6d0c5510d0c 100644 (file)
@@ -25,4 +25,11 @@ else
 BITCOIN_CONF_OPTS += --without-miniupnpc
 endif
 
+ifeq ($(BR2_PACKAGE_ZEROMQ),y)
+BITCOIN_DEPENDENCIES += zeromq
+BITCOIN_CONF_OPTS += --with-zmq
+else
+BITCOIN_CONF_OPTS += --without-zmq
+endif
+
 $(eval $(autotools-package))