]> git.99rst.org Git - openwrt-packages.git/commitdiff
python3: use ATOMIC64_DEPENDS
authorDaniel Golle <redacted>
Thu, 10 Sep 2026 12:07:08 +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>
lang/python/python3/Makefile

index f692ae708e6f5782012fb594be4dda13e87ae7e4..7e07cd69ec9420ff4f79ae05874d83632385a62e 100644 (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
 
git clone https://git.99rst.org/PROJECT