frr: add libatomic dependency
authorRosen Penev <rosenp@gmail.com>
Mon, 30 Mar 2020 04:09:04 +0000 (21:09 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 30 Mar 2020 04:30:32 +0000 (21:30 -0700)
Needed for some platforms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/frr/Makefile

index c35f333b1cf59808a0b1acce37fa1722f27875a0..1e6cdc8def5ec86e7b3e1cc4242ca1c2089e5bc5 100644 (file)
@@ -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