mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-11 21:40:02 -04:00
22 lines
No EOL
405 B
Bash
Executable file
22 lines
No EOL
405 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#build all deps
|
|
|
|
mkdir -p build
|
|
|
|
OPENSSL_PREFIX=$(realpath build/openssl-wasm)
|
|
CJSON_PREFIX=$(realpath build/cjson-wasm)
|
|
CURL_PREFIX=$(realpath build/curl-wasm)
|
|
|
|
if [ ! -d $OPENSSL_PREFIX ]; then
|
|
tools/openssl.sh
|
|
fi
|
|
if [ ! -d $CJSON_PREFIX ]; then
|
|
tools/cjson.sh
|
|
fi
|
|
if [ ! -d $CURL_PREFIX ]; then
|
|
tools/curl.sh
|
|
fi
|
|
|
|
cp -r $OPENSSL_PREFIX/* $CURL_PREFIX
|
|
cp -r $CJSON_PREFIX/* $CURL_PREFIX |