Don't link zlib bundled with android NDK
This commit is contained in:
parent
2b450f26ba
commit
c1a663b577
13
configure.ac
13
configure.ac
|
@ -257,16 +257,10 @@ case "$host" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# zlib
|
# zlib
|
||||||
if test "x$android_build" = "xyes"; then
|
PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.3], [have_zlib=yes], [have_zlib=no])
|
||||||
# Use zlib provided by NDK
|
|
||||||
APPLDFLAGS="-lz $APPLDFLAGS"
|
|
||||||
have_zlib=yes
|
|
||||||
else
|
|
||||||
PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.3], [have_zlib=yes], [have_zlib=no])
|
|
||||||
|
|
||||||
if test "x${have_zlib}" = "xno"; then
|
if test "x${have_zlib}" = "xno"; then
|
||||||
AC_MSG_NOTICE($ZLIB_PKG_ERRORS)
|
AC_MSG_NOTICE($ZLIB_PKG_ERRORS)
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cunit
|
# cunit
|
||||||
|
@ -743,6 +737,7 @@ AC_MSG_NOTICE([summary of build options:
|
||||||
Spdylay: ${have_spdylay}
|
Spdylay: ${have_spdylay}
|
||||||
Jansson: ${have_jansson}
|
Jansson: ${have_jansson}
|
||||||
Jemalloc: ${have_jemalloc}
|
Jemalloc: ${have_jemalloc}
|
||||||
|
Zlib: ${have_zlib}
|
||||||
Boost CPPFLAGS: ${BOOST_CPPFLAGS}
|
Boost CPPFLAGS: ${BOOST_CPPFLAGS}
|
||||||
Boost LDFLAGS: ${BOOST_LDFLAGS}
|
Boost LDFLAGS: ${BOOST_LDFLAGS}
|
||||||
Boost::ASIO: ${BOOST_ASIO_LIB}
|
Boost::ASIO: ${BOOST_ASIO_LIB}
|
||||||
|
|
Loading…
Reference in New Issue