diff --git a/meson.build b/meson.build index d0932a11a83..4384cd2cabf 100644 --- a/meson.build +++ b/meson.build @@ -556,7 +556,6 @@ if with_vulkan_icd_dir == '' with_vulkan_icd_dir = join_paths(get_option('datadir'), 'vulkan/icd.d') endif -# GNU/Hurd includes egl_dri2, without drm. with_dri2 = (with_dri or with_any_vk) and (with_dri_platform == 'drm' or with_dri_platform == 'apple' or host_machine.system() == 'gnu') with_dri3 = get_option('dri3').disable_auto_if(not (system_has_kms_drm and with_dri2)).allowed() @@ -1702,8 +1701,7 @@ with_gallium_drisw_kms = false if system_has_kms_drm dep_libdrm = dependency( 'libdrm', version : '>=' + _drm_ver, - # GNU/Hurd includes egl_dri2, without drm. - required : (with_dri2 and host_machine.system() != 'gnu') or with_dri3 + required : with_dri2 or with_dri3 ) else # We should prevent libdrm from being available when the target doesn't have it to avoid transitive