Add a path to zlib when building curl for android

This commit is contained in:
Deve 2018-08-06 22:54:05 +02:00
parent eef888d2b7
commit 0f4023a39c

View File

@ -372,8 +372,8 @@ if [ ! -f "$DIRNAME/obj/curl.stamp" ]; then
cp -a -f "$DIRNAME/../lib/curl/"* "$DIRNAME/obj/curl"
cd "$DIRNAME/obj/curl"
CPPFLAGS="-I$DIRNAME/obj/openssl/include $CPPFLAGS" \
LDFLAGS="-L$DIRNAME/obj/openssl/ $LDFLAGS" \
CPPFLAGS="-I$DIRNAME/obj/openssl/include -I$DIRNAME/obj/zlib $CPPFLAGS" \
LDFLAGS="-L$DIRNAME/obj/openssl/ -L$DIRNAME/obj/zlib $LDFLAGS" \
./configure --host=$HOST \
--with-ssl \
--disable-shared \