blob: 1b62db92e9f46af1afcbb8ce484853219853af9a [file] [log] [blame]
Andrew Geissler615f2f12022-07-15 14:00:58 -05001From 2195cec1e5bc66128d72049c11ff381ca4516a4b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 5 Jul 2022 11:51:39 +0200
4Subject: [PATCH] meson.build: request native wayland-scanner
5
6This matters in cross compilation, as otherwise meson will
7try to use a cross-binary, and fail.
8
9Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/waffle/-/merge_requests/110]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 meson.build | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/meson.build b/meson.build
16index 0bb6128..0b6da1f 100644
17--- a/meson.build
18+++ b/meson.build
19@@ -108,7 +108,7 @@ else
20 'wayland-egl', version : '>= 9.1', required : get_option('wayland'),
21 )
22 dep_wayland_scanner = dependency(
23- 'wayland-scanner', version : '>= 1.15', required : get_option('wayland'),
24+ 'wayland-scanner', version : '>= 1.15', required : get_option('wayland'), native: true,
25 )
26 if dep_wayland_scanner.found()
27 prog_wayland_scanner = find_program(dep_wayland_scanner.get_pkgconfig_variable('wayland_scanner'))