mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
build: restore support for non-pkgconfig zlib
Some platforms do not offer a .pc file for zlib, e.g. Android.
This commit is contained in:
parent
8e3fb7566b
commit
a9aa5a1b1c
4
wscript
4
wscript
@ -323,8 +323,10 @@ iconv support use --disable-iconv.",
|
||||
}, {
|
||||
'name': '--zlib',
|
||||
'desc': 'zlib',
|
||||
'func': check_pkg_config('zlib'),
|
||||
'func': any_check(check_pkg_config('zlib'),
|
||||
check_libs(['z'], check_statement('zlib.h', 'inflate(0, Z_NO_FLUSH)'))),
|
||||
'req': True,
|
||||
'fmsg': 'Unable to find development files for zlib.'
|
||||
}, {
|
||||
'name': '--libbluray',
|
||||
'desc': 'Bluray support',
|
||||
|
Loading…
Reference in New Issue
Block a user