build cjson for emscripten

This commit is contained in:
ading2210 2024-01-03 22:00:11 -05:00
parent 2a511ff6e9
commit e030ca6712
4 changed files with 46 additions and 1 deletions

16
client/tools/all_deps.sh Executable file
View file

@ -0,0 +1,16 @@
#!/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)
tools/openssl.sh
tools/cjson.sh
tools/curl.sh
cp -r $OPENSSL_PREFIX/* $CURL_PREFIX
cp -r $CJSON_PREFIX/* $CURL_PREFIX