From: Rosen Penev Date: Mon, 30 Mar 2020 04:09:04 +0000 (-0700) Subject: frr: add libatomic dependency X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c5e058558ddb23c110c80a1d92209d5ae9301763;p=feed%2Fpackages.git frr: add libatomic dependency Needed for some platforms. Signed-off-by: Rosen Penev --- diff --git a/net/frr/Makefile b/net/frr/Makefile index c35f333b1c..1e6cdc8def 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