libatomic is only needed where the compiler does not inline 64-bit
atomics, but the package depends on it on every target.
ATOMIC64_DEPENDS restricts the dependency to those targets.
Signed-off-by: Daniel Golle <redacted>
PKG_NAME:=netatalk
PKG_VERSION:=4.4.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SF/netatalk
TITLE:=Apple Filing Protocol
PROVIDES:=netatalk
URL:=https://netatalk.io
- DEPENDS:=+libevent2 +libdb47 +libgcrypt +iniparser +libatomic
+ DEPENDS:=+libevent2 +libdb47 +libgcrypt +iniparser $(ATOMIC64_DEPENDS)
endef
define Package/netatalk-small