mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 06:20:02 -04:00
fix build scripts
This commit is contained in:
parent
dc61ffb7ba
commit
2a511ff6e9
3 changed files with 13 additions and 2 deletions
|
@ -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 ../../
|
Loading…
Add table
Add a link
Reference in a new issue