mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 14:30:26 +01:00
meson: work around meson 0.62 issue
Ubuntu 22.04 LTS has Meson 0.62, but recent versions of mesa fails to
build there due to an issue with using wayland-protocols from wrapdb,
that wasn't fixed until Meson 0.63. Luckily the problem is easy to
work around, so let's just do that.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10232
Fixes: 5fe5c3e223 ("meson: add wayland-protocols from meson wrapdb")
Tested-by: Eero Tamminen <eero.t.tamminen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26446>
This commit is contained in:
parent
5119e0adc3
commit
d8d49ad034
1 changed files with 2 additions and 2 deletions
|
|
@ -67,13 +67,13 @@ wp_files = {}
|
|||
foreach name, xml : wp_protos
|
||||
code = custom_target(
|
||||
name + '-protocol.c',
|
||||
input : join_paths(wp_dir, xml),
|
||||
input : files(join_paths(wp_dir, xml)),
|
||||
output : name + '-protocol.c',
|
||||
command : [prog_wl_scanner, wl_scanner_arg, '@INPUT@', '@OUTPUT@'],
|
||||
)
|
||||
header = custom_target(
|
||||
name + '-client-protocol.h',
|
||||
input : join_paths(wp_dir, xml),
|
||||
input : files(join_paths(wp_dir, xml)),
|
||||
output : name + '-client-protocol.h',
|
||||
command : [prog_wl_scanner, 'client-header', '@INPUT@', '@OUTPUT@'],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue