mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
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:
1 parent
b20484d843
commit
80d3aabb68
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user