mesa: 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-14 16:47:15 +01:00
1 parent 644a662612
commit c421d1944c
1 file changed
+2 -2
+2 -2
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mesa
PKG_VERSION:=26.1.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://archive.mesa3d.org/
@@ -64,7 +64,7 @@ define Package/mesa/Default
SECTION:=libs
CATEGORY:=Libraries
SUBMENU:=Video
DEPENDS:=+libatomic
DEPENDS:=$(ATOMIC64_DEPENDS)
TITLE:=Mesa3D
URL:=https://www.mesa3d.org
endef