From: Daniel Golle Date: Thu, 10 Sep 2026 12:07:08 +0000 (+0100) Subject: python3: use ATOMIC64_DEPENDS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=80d3aabb68eb855872183ee050d4a7a981d5eec6;p=openwrt-packages.git 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 --- diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index f692ae708..7e07cd69e 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -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