]> git.99rst.org Git - openwrt-packages.git/commitdiff
rtorrent: use ATOMIC64_DEPENDS
authorDaniel Golle <redacted>
Thu, 10 Sep 2026 12:07:07 +0000 (13:07 +0100)
committerDaniel Golle <redacted>
Wed, 16 Sep 2026 15:35:19 +0000 (16:35 +0100)
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>
net/rtorrent/Makefile

index 07a10f544f464a682ec41ae42b4fdf9cf1e044d1..f54c4fba6adfbfa3fd217d39971a7c8c16030099 100644 (file)
@@ -33,7 +33,7 @@ define Package/rtorrent/Default
   CATEGORY:=Network
   TITLE:=BitTorrent client for ncurses
   URL:=https://github.com/rakshasa/rtorrent
-  DEPENDS:=+libcurl +libncurses +libatomic +libopenssl +libstdcpp +zlib
+  DEPENDS:=+libcurl +libncurses $(ATOMIC64_DEPENDS) +libopenssl +libstdcpp +zlib
 endef
 
 define Package/rtorrent/Default/description
git clone https://git.99rst.org/PROJECT