From 82ded968aae9e4141d6b25791546b9f92e3c20d1 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 16 May 2020 07:21:27 +0000 Subject: build: allow wlshm on more Wayland platforms after a6000d311421 --- wscript | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wscript b/wscript index 96fab9d5e6..ba79c61a64 100644 --- a/wscript +++ b/wscript @@ -301,12 +301,6 @@ iconv support use --disable-iconv.", 'deps': 'os-linux', 'func': check_statement('sys/vfs.h', 'struct statfs fs; fstatfs(0, &fs); fs.f_namelen') - }, { - 'name': 'memfd_create', - 'desc': "Linux's memfd_create()", - 'deps': 'os-linux', - 'func': check_statement('sys/mman.h', - 'memfd_create("mpv", MFD_CLOEXEC | MFD_ALLOW_SEALING)') }, { 'name' : '--lua', 'desc' : 'Lua', @@ -501,6 +495,12 @@ video_output_features = [ 'func': check_pkg_config('wayland-client', '>= 1.15.0', 'wayland-cursor', '>= 1.15.0', 'xkbcommon', '>= 0.3.0'), + } , { + 'name': 'memfd_create', + 'desc': "Linux's memfd_create()", + 'deps': 'wayland', + 'func': check_statement('sys/mman.h', + 'memfd_create("mpv", MFD_CLOEXEC | MFD_ALLOW_SEALING)') } , { 'name': '--x11', 'desc': 'X11', -- cgit v1.2.3