mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
Revert "meson: fix with_dri2 definition for GNU Hurd"
This reverts commit ad862c36e5.
This change does not work, because libdrm is required if with_dri2 is
true. Moreover, we don't want all of DRI2 on Hurd, we just want the
egl_dri2 driver, as done by autotools. So first revert this to stop
trying to build all of DRI2.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/587>
This commit is contained in:
parent
8461776a09
commit
ec55a6c329
1 changed files with 1 additions and 2 deletions
|
|
@ -556,8 +556,7 @@ if with_vulkan_icd_dir == ''
|
||||||
with_vulkan_icd_dir = join_paths(get_option('datadir'), 'vulkan/icd.d')
|
with_vulkan_icd_dir = join_paths(get_option('datadir'), 'vulkan/icd.d')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
with_dri2 = (with_dri or with_any_vk) and (with_dri_platform == 'drm' or with_dri_platform == 'apple' or
|
with_dri2 = (with_dri or with_any_vk) and (with_dri_platform == 'drm' or with_dri_platform == 'apple')
|
||||||
host_machine.system() == 'gnu')
|
|
||||||
with_dri3 = get_option('dri3').disable_auto_if(not (system_has_kms_drm and with_dri2)).allowed()
|
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)
|
if with_any_vk and (with_platform_x11 and not with_dri3)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue