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:
Mia Herkt committed 2020-12-06 01:16:12 +01:00
1 parent 8e3fb7566b
commit a9aa5a1b1c
1 file changed
+3 -1
+3 -1
View File
@@ -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',