fix build scripts

This commit is contained in:
ading2210 2024-01-03 21:13:37 -05:00
parent dc61ffb7ba
commit 2a511ff6e9
3 changed files with 13 additions and 2 deletions

View file

@ -2,10 +2,14 @@
#compile openssl for use with emscripten
set -x
set -e
CORE_COUNT=$(nproc --all)
PREFIX=$(realpath build/openssl-wasm)
mkdir -p $PREFIX
cd build
rm -rf openssl
git clone -b master --depth=1 https://github.com/openssl/openssl
cd openssl
@ -21,4 +25,4 @@ mkdir -p $PREFIX/lib
cp -r include/openssl $PREFIX/include
cp libcrypto.a libssl.a $PREFIX/lib
cd ..
cd ../../