Added --without-zlib to configure path.
To fix the linkage error Undefined symbols for architecture arm64: "_inflate", referenced from: _inflate_stream in libcurl.a(libcurl_la-content_encoding.o) "_inflateEnd", referenced from: _inflate_stream in libcurl.a(libcurl_la-content_encoding.o)
This commit is contained in:
parent
ee1633ce46
commit
2388d7adb8
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function build_for_arch() {
|
||||||
export PATH="${DEVROOT}/usr/bin/:${PATH}"
|
export PATH="${DEVROOT}/usr/bin/:${PATH}"
|
||||||
export CFLAGS="-arch ${ARCH} -pipe -Os -gdwarf-2 -isysroot ${SYSROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} -fembed-bitcode"
|
export CFLAGS="-arch ${ARCH} -pipe -Os -gdwarf-2 -isysroot ${SYSROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} -fembed-bitcode"
|
||||||
export LDFLAGS="-arch ${ARCH} -isysroot ${SYSROOT}"
|
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" ]
|
if [ "$1" == "openssl" ]
|
||||||
|
|
Loading…
Reference in a new issue