diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-05-16 07:21:27 +0000 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-05-18 01:57:20 +0200 |
commit | 82ded968aae9e4141d6b25791546b9f92e3c20d1 (patch) | |
tree | b0d48a59d59d43540f8246a8e97d3671cf521d7b /wscript | |
parent | 27e5416c124884758bb206bb5948221a5f00f87d (diff) | |
download | mpv-82ded968aae9e4141d6b25791546b9f92e3c20d1.tar.bz2 mpv-82ded968aae9e4141d6b25791546b9f92e3c20d1.tar.xz |
build: allow wlshm on more Wayland platforms after a6000d311421
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -302,12 +302,6 @@ iconv support use --disable-iconv.", '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', 'func': check_lua, @@ -502,6 +496,12 @@ video_output_features = [ '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', 'deps': 'gpl', |