From a4181fcd422ddd2a58467eda338847db7c14efd1 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 1 Aug 2020 13:41:30 +0200 Subject: [PATCH] meson: fix `-D xlib-lease=auto` detection This is used by Vulkan, not EGL, and depends on having DRM/KMS, not GBM. Reported-by: Oschowa Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3346 Fixes: e00adef34a5ce485e2c9 ("egl: automatically compile the `drm` platform when available") Signed-off-by: Eric Engestrom Reviewed-by: Bas Nieuwenhuizen Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 011b1eca832..4b57cf326ec 100644 --- a/meson.build +++ b/meson.build @@ -389,7 +389,7 @@ elif _xlib_lease == 'false' warning('xlib_lease option "false" deprecated, please use "disabled" instead.') endif if _xlib_lease == 'auto' - with_xlib_lease = with_platform_x11 and with_gbm + with_xlib_lease = with_platform_x11 and system_has_kms_drm else with_xlib_lease = _xlib_lease == 'enabled' endif