From b1e15f32029735738a31e89a41a77421ef3e2a1e Mon Sep 17 00:00:00 2001 From: twinaphex <libretro@gmail.com> Date: Mon, 20 Apr 2015 01:56:48 +0200 Subject: [PATCH] Treat detection of zlib differently for OSX --- qb/config.libs.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 6a1bac9eb7..3273c0d730 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -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