mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 07:40:38 +02:00
meson: fix with_dri2 definition for GNU Hurd
Suggested-by: Dylan Baker <dylan@pnwbakers.com> Cc: Timo Aaltonen <tjaalton@debian.org> Cc: James Clarke <jrtc27@debian.org> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
b49726afd4
commit
ad862c36e5
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue