1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 07:12:39 +00:00

build: allow --disable-zlib

Since strictly speaking, it's still optional. It's just very much
recommended not to disable it.
This commit is contained in:
wm4 2017-06-28 15:33:21 +02:00
parent 3e9075787f
commit b8bdb0ba4e

View File

@ -312,7 +312,7 @@ iconv support use --disable-iconv.",
'deps_neg': [ 'libass-osd' ], 'deps_neg': [ 'libass-osd' ],
'func': check_true, 'func': check_true,
} , { } , {
'name': 'zlib', 'name': '--zlib',
'desc': 'zlib', 'desc': 'zlib',
'func': check_libs(['z'], 'func': check_libs(['z'],
check_statement('zlib.h', 'inflate(0, Z_NO_FLUSH)')), check_statement('zlib.h', 'inflate(0, Z_NO_FLUSH)')),