diff --git a/build_libcurl_dist.sh b/build_libcurl_dist.sh index daf86fb..3c361a3 100755 --- a/build_libcurl_dist.sh +++ b/build_libcurl_dist.sh @@ -27,7 +27,7 @@ function build_for_arch() { export PATH="${DEVROOT}/usr/bin/:${PATH}" export CFLAGS="-DCURL_BUILD_IOS -arch ${ARCH} -pipe -Os -gdwarf-2 -isysroot ${SYSROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} -fembed-bitcode" export LDFLAGS="-arch ${ARCH} -isysroot ${SYSROOT}" - ./configure --disable-shared --enable-static --enable-ipv6 ${SSL_FLAG} --host="${HOST}" --prefix=${PREFIX} && make -j8 && make install + ./configure --disable-shared --without-zlib --enable-static --enable-ipv6 ${SSL_FLAG} --host="${HOST}" --prefix=${PREFIX} && make -j8 && make install } if [ "$1" == "openssl" ]