summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript12
1 files changed, 6 insertions, 6 deletions
diff --git a/wscript b/wscript
index 96fab9d5e6..ba79c61a64 100644
--- a/wscript
+++ b/wscript
@@ -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',