summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-05-16 07:21:27 +0000
committerwm4 <1387750+wm4@users.noreply.github.com>2020-05-18 01:57:20 +0200
commit82ded968aae9e4141d6b25791546b9f92e3c20d1 (patch)
treeb0d48a59d59d43540f8246a8e97d3671cf521d7b
parent27e5416c124884758bb206bb5948221a5f00f87d (diff)
downloadmpv-82ded968aae9e4141d6b25791546b9f92e3c20d1.tar.bz2
mpv-82ded968aae9e4141d6b25791546b9f92e3c20d1.tar.xz
build: allow wlshm on more Wayland platforms after a6000d311421
-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',