From ec55a6c3292235aa56750989ee4a5bbd62fca61d Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Wed, 17 Jul 2024 11:11:08 +0100 Subject: [PATCH] Revert "meson: fix with_dri2 definition for GNU Hurd" This reverts commit ad862c36e5e175d9bf2d112927be7348fb3560f7. This change does not work, because libdrm is required if with_dri2 is true. Moreover, we don't want all of DRI2 on Hurd, we just want the egl_dri2 driver, as done by autotools. So first revert this to stop trying to build all of DRI2. Cc: mesa-stable Part-of: --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 4384cd2cabf..bfef896e3e3 100644 --- a/meson.build +++ b/meson.build @@ -556,8 +556,7 @@ if with_vulkan_icd_dir == '' with_vulkan_icd_dir = join_paths(get_option('datadir'), 'vulkan/icd.d') endif -with_dri2 = (with_dri or with_any_vk) and (with_dri_platform == 'drm' or with_dri_platform == 'apple' or - host_machine.system() == 'gnu') +with_dri2 = (with_dri or with_any_vk) and (with_dri_platform == 'drm' or with_dri_platform == 'apple') with_dri3 = get_option('dri3').disable_auto_if(not (system_has_kms_drm and with_dri2)).allowed() if with_any_vk and (with_platform_x11 and not with_dri3)