remove wolfssl and nghttp2 entirely

This commit is contained in:
ading2210 2024-10-03 06:21:44 -04:00
parent c1b78e1d0c
commit bcda300153
10 changed files with 12 additions and 77 deletions

View file

@ -7,14 +7,12 @@ set -e
CORE_COUNT=$(nproc --all)
PREFIX=$(realpath build/curl-wasm)
WOLFSSL_PREFIX=$(realpath build/wolfssl-wasm)
ZLIB_PREFIX=$(realpath build/zlib-wasm)
BROTLI_PREFIX=$(realpath build/brotli-wasm)
NGHTTP2_PREFIX=$(realpath build/nghttp2-wasm)
cd build
rm -rf curl
git clone -b curl-8_9_1 --depth=1 https://github.com/curl/curl
git clone -b curl-8_10_1 --depth=1 https://github.com/curl/curl
cd curl
autoreconf -fi
@ -24,8 +22,8 @@ emconfigure ./configure --host i686-linux \
--enable-websockets --disable-ftp --disable-file --disable-gopher \
--disable-imap --disable-mqtt --disable-pop3 --disable-rtsp \
--disable-smb --disable-smtp --disable-telnet --disable-dict \
--with-wolfssl=$WOLFSSL_PREFIX --with-zlib=$ZLIB_PREFIX \
--with-brotli=$BROTLI_PREFIX --with-nghttp2=$NGHTTP2_PREFIX
--with-zlib=$ZLIB_PREFIX --with-brotli=$BROTLI_PREFIX \
--without-ssl
emmake make -j$CORE_COUNT CFLAGS="-Oz" LIBS="-lbrotlicommon"