summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-27 12:37:47 +0200
committerwm4 <wm4@nowhere>2017-06-29 10:30:13 +0200
commit70a70b9da347d7ef25a9862af83731b9b0a0d3f1 (patch)
tree541ad35c45560d81498fe246de1a6f70f5a8265f /wscript
parent0b77f6fd229f537a309f1d5b37469392e65d279e (diff)
downloadmpv-70a70b9da347d7ef25a9862af83731b9b0a0d3f1.tar.bz2
mpv-70a70b9da347d7ef25a9862af83731b9b0a0d3f1.tar.xz
build: replace glob() check and assume it's always in POSIX
POSIX requires glob(), so no need to check for it. Together with the fact that we can emulate glob() on Windows, glob() is always available.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 2 insertions, 6 deletions
diff --git a/wscript b/wscript
index 061fb3f76f..58d64837af 100644
--- a/wscript
+++ b/wscript
@@ -208,13 +208,9 @@ iconv support use --disable-iconv.",
'func': check_true,
'deps_any': ['posix-spawn', 'mingw'],
}, {
- 'name': 'glob',
- 'desc': 'glob()',
- 'func': check_statement('glob.h', 'glob("filename", 0, 0, 0)')
- }, {
- 'name': 'glob-win32-replacement',
+ 'name': 'glob-win32',
'desc': 'glob() win32 replacement',
- 'deps_neg': [ 'glob' ],
+ 'deps_neg': [ 'posix' ],
'deps_any': [ 'os-win32', 'os-cygwin' ],
'func': check_true
}, {