From c5e058558ddb23c110c80a1d92209d5ae9301763 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 29 Mar 2020 21:09:04 -0700 Subject: [PATCH] frr: add libatomic dependency Needed for some platforms. Signed-off-by: Rosen Penev --- net/frr/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/frr/Makefile b/net/frr/Makefile index c35f333b1..1e6cdc8de 100644 --- a/net/frr/Makefile +++ b/net/frr/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=frr PKG_VERSION:=7.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=https://github.com/FRRouting/frr/releases/download/$(PKG_NAME)-$(PKG_VERSION)/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz @@ -82,7 +82,7 @@ endef define Package/frr-libfrr $(call Package/frr/Default) TITLE:=zebra library - DEPENDS+=+librt +libjson-c +libyang +FRR_OPENSSL:libopenssl + DEPENDS+=+librt +libatomic +libjson-c +libyang +FRR_OPENSSL:libopenssl CONFLICTS:=quagga-libzebra endef @@ -144,6 +144,8 @@ define Package/frr-libfrr/conffiles /etc/frr/ endef +TARGET_LDFLAGS += -latomic + define Build/Prepare $(Build/Prepare/Default) mkdir -p $(PKG_BUILD_DIR)/build