summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxice8 <thinkabit.ukim@gmail.com>2019-02-23 05:55:00 -0300
committerDaniel Stone <daniel@fooishbar.org>2019-02-23 09:04:36 +0000
commit9badb4e4a250efc92af0cc6b952bddf12d826c27 (patch)
treef912884efd973eacf7bbb445c47688f8cadda9bd
parentd40b368b2f4c4cd130f63ac41e4a9d53b684c712 (diff)
downloadxorg-lib-libxkbcommon-9badb4e4a250efc92af0cc6b952bddf12d826c27.tar.gz
meson.build: use program from build machine not host or target.
We can't always execute binaries from the host or target machine, as is the case in cross compilation. closes #89
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 9fef9c3..6f0b596 100644
--- a/meson.build
+++ b/meson.build
@@ -411,7 +411,7 @@ endif
if get_option('enable-wayland')
wayland_client_dep = dependency('wayland-client', version: '>=1.2.0', required: false)
wayland_protocols_dep = dependency('wayland-protocols', version: '>=1.7', required: false)
- wayland_scanner_dep = dependency('wayland-scanner', required: false)
+ wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true)
if not wayland_client_dep.found() or not wayland_protocols_dep.found() or not wayland_scanner_dep.found()
error('''The Wayland demo programs require wayland-client >= 1.2.0, wayland-protocols >= 1.7 which were not found.
You can disable the Wayland demo programs with -Denable-wayland=false.''')