build: allow wlshm on more Wayland platforms after a6000d3114

This commit is contained in:
Jan Beich 2020-05-16 07:21:27 +00:00 committed by wm4
parent 27e5416c12
commit 82ded968aa
1 changed files with 6 additions and 6 deletions

12
wscript
View File

@ -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',