Merge pull request #3798 from heuripedes/master

(qb) Try to find -lz if the zlib package doesnt exist
This commit is contained in:
Twinaphex 2016-10-15 01:42:00 +02:00 committed by GitHub
commit aa049e55da

View File

@ -288,10 +288,13 @@ if [ "$HAVE_OPENGL" != 'no' ] && [ "$HAVE_OPENGLES" != 'yes' ]; then
fi
fi
if [ "$OS" = 'Darwin' ]; then
check_lib ZLIB "-lz"
else
if [ "$HAVE_ZLIB" != 'no' ]; then
check_pkgconf ZLIB zlib
if [ "$HAVE_ZLIB" = 'no' ]; then
HAVE_ZLIB='auto'
check_lib ZLIB '-lz'
fi
fi
if [ "$HAVE_THREADS" != 'no' ]; then