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)