mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
meson: require libelf when radeonsi is built
radeonsi has a hard dependency on libelf so tell meson about this requirement. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10240 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27295>
This commit is contained in:
parent
e4f7754977
commit
d9f15f8d9b
1 changed files with 2 additions and 0 deletions
|
|
@ -1884,6 +1884,8 @@ if not with_platform_windows and not dep_elf.found()
|
|||
endif
|
||||
if dep_elf.found()
|
||||
pre_args += '-DUSE_LIBELF'
|
||||
elif with_gallium_radeonsi
|
||||
error('Gallium driver radeonsi requires libelf')
|
||||
endif
|
||||
|
||||
dep_glvnd = null_dep
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue