python3: use ATOMIC64_DEPENDS

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 <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-09-16 16:35:19 +01:00
1 parent b20484d843
commit 80d3aabb68
1 file changed
+2 -2
+2 -2
View File
@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
include ../python3-version.mk
PKG_NAME:=python3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
@@ -70,7 +70,7 @@ endef
define Package/libpython3
$(call Package/python3/Default)
TITLE+= core library
DEPENDS:=+libpthread +libatomic
DEPENDS:=+libpthread $(ATOMIC64_DEPENDS)
ABI_VERSION:=$(PYTHON3_VERSION)
endef