mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 22:10:01 -04:00
support http/2
This commit is contained in:
parent
8bcfc2157c
commit
baab0aea8f
6 changed files with 36 additions and 3 deletions
|
@ -9,6 +9,7 @@ CJSON_PREFIX=$(realpath build/cjson-wasm)
|
|||
CURL_PREFIX=$(realpath build/curl-wasm)
|
||||
ZLIB_PREFIX=$(realpath build/zlib-wasm)
|
||||
BROTLI_PREFIX=$(realpath build/brotli-wasm)
|
||||
NGHTTP2_PREFIX=$(realpath build/nghttp2-wasm)
|
||||
|
||||
if [ ! -d $OPENSSL_PREFIX ]; then
|
||||
tools/openssl.sh
|
||||
|
@ -25,8 +26,12 @@ fi
|
|||
if [ ! -d $CURL_PREFIX ]; then
|
||||
tools/curl.sh
|
||||
fi
|
||||
if [ ! -d $NGHTTP2_PREFIX ]; then
|
||||
tools/nghttp2.sh
|
||||
fi
|
||||
|
||||
cp -r $OPENSSL_PREFIX/* $CURL_PREFIX
|
||||
cp -r $CJSON_PREFIX/* $CURL_PREFIX
|
||||
cp -r $ZLIB_PREFIX/* $CURL_PREFIX
|
||||
cp -r $BROTLI_PREFIX/* $CURL_PREFIX
|
||||
cp -r $BROTLI_PREFIX/* $CURL_PREFIX
|
||||
cp -r $NGHTTP2_PREFIX/* $CURL_PREFIX
|
Loading…
Add table
Add a link
Reference in a new issue