diff options
author | 2022-11-20 17:58:27 -0500 | |
---|---|---|
committer | 2024-03-11 18:13:05 +0200 | |
commit | 9da16115b66545cd458729af23a690e907bd9094 (patch) | |
tree | d9684904d4185e8d4eaea5b67ed69de74405e6ca | |
parent | d5ecd12729734b788546e0d80edc492454bec251 (diff) |
meson.build: Fix wayland-scanner detection
Update wayland-scanner dependency to mark it as native, as detection
fails with newer meson without it. This also matches what is done in
Weston's meson.build.
Bug-AGL: SPEC-4578
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 372c76c..65a55d6 100644 --- a/meson.build +++ b/meson.build @@ -42,7 +42,7 @@ foreach func: optional_libc_funcs endforeach dep_libsystemd = dependency('libsystemd', required: false) -dep_scanner = dependency('wayland-scanner') +dep_scanner = dependency('wayland-scanner', native: true) prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner')) dep_wp = dependency('wayland-protocols', version: '>= 1.18') dir_wp_base = dep_wp.get_pkgconfig_variable('pkgdatadir') |