mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-15 07:10:01 -04:00
not yet working coroutines
This commit is contained in:
parent
2a072ecee0
commit
e5118c9c2e
8 changed files with 102 additions and 11 deletions
|
@ -11,6 +11,7 @@ CURL_PREFIX=$(realpath build/curl-wasm)
|
|||
ZLIB_PREFIX=$(realpath build/zlib-wasm)
|
||||
BROTLI_PREFIX=$(realpath build/brotli-wasm)
|
||||
NGHTTP2_PREFIX=$(realpath build/nghttp2-wasm)
|
||||
MINICORO_PREFIX=$(realpath build/minicoro-wasm)
|
||||
|
||||
if [ ! -d $OPENSSL_PREFIX ]; then
|
||||
tools/openssl.sh
|
||||
|
@ -30,9 +31,13 @@ fi
|
|||
if [ ! -d $CURL_PREFIX ]; then
|
||||
tools/curl.sh
|
||||
fi
|
||||
if [ ! -d $MINICORO_PREFIX ]; then
|
||||
tools/minicoro.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 $NGHTTP2_PREFIX/* $CURL_PREFIX
|
||||
cp -r $NGHTTP2_PREFIX/* $CURL_PREFIX
|
||||
cp -r $MINICORO_PREFIX/* $CURL_PREFIX
|
6
client/tools/minicoro.sh
Executable file
6
client/tools/minicoro.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
#download the minicoro library
|
||||
|
||||
mkdir -p build/minicoro-wasm/include/
|
||||
wget "https://raw.githubusercontent.com/edubart/minicoro/main/minicoro.h" -O build/minicoro-wasm/include/minicoro.h
|
Loading…
Add table
Add a link
Reference in a new issue