Skip to content

Commit a14f467

Browse files
author
Jeff Whitaker
committed
add --without-zstd to curl build
1 parent ca67aac commit a14f467

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

config.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,26 @@ function pip_opts {
4040
fi
4141
}
4242

43+
function build_curl {
44+
if [ -e curl-stamp ]; then return; fi
45+
local flags="--prefix=$BUILD_PREFIX"
46+
if [ -n "$IS_MACOS" ]; then
47+
flags="$flags --with-darwinssl"
48+
else # manylinux
49+
flags="$flags --with-ssl"
50+
build_openssl
51+
fi
52+
flags="$flags --without-zstd"
53+
fetch_unpack https://curl.haxx.se/download/curl-${CURL_VERSION}.tar.gz
54+
(cd curl-${CURL_VERSION} \
55+
&& if [ -z "$IS_MACOS" ]; then \
56+
LIBS=-ldl ./configure $flags; else \
57+
./configure $flags; fi\
58+
&& make -j4 \
59+
&& make install)
60+
touch curl-stamp
61+
}
62+
4363
#function build_curl {
4464
# if [ -e curl-stamp ]; then return; fi
4565
# local flags="--prefix=$BUILD_PREFIX"

0 commit comments

Comments
 (0)