Treat detection of zlib differently for OSX

This commit is contained in:
twinaphex 2015-04-20 01:56:48 +02:00
parent e9c26d3bf8
commit b1e15f3202

View File

@ -253,7 +253,11 @@ else
HAVE_CG='no'
fi
check_pkgconf ZLIB zlib
if [ "$OS" = 'Darwin' ]; then
check_lib ZLIB "-libz"
else
check_pkgconf ZLIB zlib
fi
if [ "$HAVE_THREADS" != 'no' ]; then
if [ "$HAVE_FFMPEG" != 'no' ]; then