summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2016-11-08 18:45:41 +0200
committerwm4 <wm4@nowhere>2016-11-08 19:16:35 +0100
commit616ecd93650ab1e11e22e0e113f5031b66b4b9d4 (patch)
treed43eae3f2c3a2e3149d8be53a44ad84a3202b959 /wscript
parentc676c31815b5c8bd9ba6eab968bbc0862eaa4bba (diff)
downloadmpv-616ecd93650ab1e11e22e0e113f5031b66b4b9d4.tar.bz2
mpv-616ecd93650ab1e11e22e0e113f5031b66b4b9d4.tar.xz
options: fnmatch: check existence instead of posix
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 885b451be2..935279114b 100644
--- a/wscript
+++ b/wscript
@@ -128,6 +128,10 @@ main_dependencies = [
'func': check_statement(['poll.h', 'unistd.h', 'sys/mman.h'],
'struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0)'),
}, {
+ 'name': 'fnmatch',
+ 'desc': 'fnmatch()',
+ 'func': check_statement('fnmatch.h', 'fnmatch("", "", 0)')
+ }, {
'name': 'posix-or-mingw',
'desc': 'development environment',
'deps_any': [ 'posix', 'mingw' ],