From ad862c36e5e175d9bf2d112927be7348fb3560f7 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 5 Mar 2019 12:32:13 +0000 Subject: meson: fix with_dri2 definition for GNU Hurd Suggested-by: Dylan Baker Cc: Timo Aaltonen Cc: James Clarke Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 46f86eb0000..8a40c48e435 100644 --- a/meson.build +++ b/meson.build @@ -376,7 +376,8 @@ 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' +with_dri2 = (with_dri or with_any_vk) and (with_dri_platform == 'drm' or + host_machine.system() == 'gnu') _dri3 = get_option('dri3') if _dri3 == 'auto' with_dri3 = system_has_kms_drm and with_dri2 -- cgit v1.2.3