From 7bb6ebea9918ace84bcc84c7c84e4b57354ef62e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 16 Dec 2021 19:57:10 +0100 Subject: [PATCH] package/frr: add zeromq optional dependency zeromq is an optional dependency since version 4.0 and https://github.com/FRRouting/frr/commit/b6116506ec81735afa647af112c6aaa1ed35e9df Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/frr/frr.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/frr/frr.mk b/package/frr/frr.mk index 733518fc11..97cc735935 100644 --- a/package/frr/frr.mk +++ b/package/frr/frr.mk @@ -42,6 +42,13 @@ else FRR_CONF_OPTS += --disable-capabilities endif +ifeq ($(BR2_PACKAGE_ZEROMQ),y) +FRR_DEPENDENCIES += zeromq +FRR_CONF_OPTS += --enable-zeromq +else +FRR_CONF_OPTS += --disable-zeromq +endif + ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) FRR_CONF_ENV += LIBS=-latomic endif