Fix have_zlib is not set for android build

This commit is contained in:
Tatsuhiro Tsujikawa 2014-06-18 14:12:40 +09:00
parent 323c3b4225
commit 8acd67b3fa
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ esac
if test "x$android_build" = "xyes"; then
# Use zlib provided by NDK
SRC_LIBS="-lz $SRC_LIBS"
have_zlib=yes
else
PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.3], [have_zlib=yes], [have_zlib=no])