summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/wscript b/wscript
index 6daf92e60b..3d9430baf9 100644
--- a/wscript
+++ b/wscript
@@ -302,6 +302,10 @@ iconv support use --disable-iconv.",
'func': check_statement('sys/vfs.h',
'struct statfs fs; fstatfs(0, &fs); fs.f_namelen')
}, {
+ 'name': 'linux-input-event-codes',
+ 'desc': "Linux's input-event-codes.h",
+ 'func': check_cc(header_name=['linux/input-event-codes.h']),
+ }, {
'name' : '--lua',
'desc' : 'Lua',
'func': check_lua,
@@ -491,7 +495,7 @@ video_output_features = [
} , {
'name': '--wayland',
'desc': 'Wayland',
- 'deps': 'wayland-protocols && wayland-scanner',
+ 'deps': 'wayland-protocols && wayland-scanner && linux-input-event-codes',
'func': check_pkg_config('wayland-client', '>= 1.15.0',
'wayland-cursor', '>= 1.15.0',
'xkbcommon', '>= 0.3.0'),