mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-07 12:20:28 +01:00
meson: Fix TODO for missing dl_iterate_phdr function
This function is required for both the Intel "Anvil" vulkan driver and the i965 GL driver. Error out if either of those is enabled but this function isn't found. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
2d62fc0646
commit
e89842ebbc
1 changed files with 4 additions and 2 deletions
|
|
@ -660,8 +660,10 @@ endif
|
|||
|
||||
if cc.has_function('dl_iterate_phdr')
|
||||
pre_args += '-DHAVE_DL_ITERATE_PHDR'
|
||||
else
|
||||
# TODO: this is required for vulkan
|
||||
elif with_intel_vk
|
||||
error('Intel "Anvil" Vulkan driver requires the dl_iterate_phdr function')
|
||||
elif with_dri_i965 and get_option('shader-cache')
|
||||
error('Intel i965 GL driver requires dl_iterate_phdr when built with shader caching.')
|
||||
endif
|
||||
|
||||
# Determine whether or not the rt library is needed for time functions
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue