diff --git a/.pick_status.json b/.pick_status.json index a0943ada9c5..20ee7bc587e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -284,7 +284,7 @@ "description": "Revert \"meson: fix with_dri2 definition for GNU Hurd\"", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/meson.build b/meson.build index f0889cf947e..f13b4e60e1a 100644 --- a/meson.build +++ b/meson.build @@ -562,8 +562,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)