python3: add libatomic as dependency

For some architectures (like mips24) this solves some build errors.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2025-11-08 12:37:00 +02:00
committed by Alexandru Ardelean
parent 7ada8de6b7
commit 3e61a5e05c

View File

@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
include ../python3-version.mk include ../python3-version.mk
PKG_NAME:=python3 PKG_NAME:=python3
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO) PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
@@ -70,7 +70,7 @@ endef
define Package/libpython3 define Package/libpython3
$(call Package/python3/Default) $(call Package/python3/Default)
TITLE+= core library TITLE+= core library
DEPENDS:=+libpthread DEPENDS:=+libpthread +libatomic
ABI_VERSION:=$(PYTHON3_VERSION) ABI_VERSION:=$(PYTHON3_VERSION)
endef endef