Merge pull request #10082 from HiassofT/le13-fix-glvnd

mesa: fix logic error in glvnd selection
This commit is contained in:
mglae 2025-05-22 00:07:28 +02:00 committed by GitHub
commit 021de5ae55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,8 +69,7 @@ if listcontains "${GRAPHIC_DRIVERS}" "(iris|panfrost)"; then
fi
if listcontains "${GRAPHIC_DRIVERS}" "(nvidia|nvidia-ng)" ||
[ "${OPENGL_SUPPORT}" = "yes" ] &&
[ "${DISPLAYSERVER}" != "x11" ]; then
[ "${OPENGL_SUPPORT}" = "yes" -a "${DISPLAYSERVER}" != "x11" ]; then
PKG_DEPENDS_TARGET+=" libglvnd"
PKG_MESON_OPTS_TARGET+=" -Dglvnd=enabled"
else