diff options
-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', |