mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
working wolfssl
This commit is contained in:
parent
8ae1907f50
commit
b04d4427ca
2 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ BROTLI_PREFIX=$(realpath build/brotli-wasm)
|
|||
NGHTTP2_PREFIX=$(realpath build/nghttp2-wasm)
|
||||
|
||||
if [ ! -d $WOLFSSL_PREFIX ]; then
|
||||
tools/openssl.sh
|
||||
tools/wolfssl.sh
|
||||
fi
|
||||
if [ ! -d $CJSON_PREFIX ]; then
|
||||
tools/cjson.sh
|
||||
|
|
|
@ -12,17 +12,17 @@ mkdir -p $PREFIX
|
|||
|
||||
cd build
|
||||
rm -rf wolfssl
|
||||
git clone -b master --depth=1 https://github.com/wolfSSL/wolfssl wolfssl
|
||||
git clone -b v5.6.6-stable --depth=1 https://github.com/wolfSSL/wolfssl wolfssl
|
||||
cd wolfssl
|
||||
|
||||
autoreconf -fi
|
||||
CFLAGS="-Oz -DSP_WORD_SIZE=32" emconfigure ./configure --prefix=$PREFIX --enable-curl --enable-static --disable-shared --host=i686-linux --disable-examples # --enable-cryptonly
|
||||
CFLAGS="-Oz -DSP_WORD_SIZE=32" emconfigure ./configure --prefix=$PREFIX --enable-curl --enable-static --disable-shared --host=i686-linux --disable-examples --disable-asm --enable-sni --enable-alpn --enable-truncatedhmac --enable-oldtls --enable-tlsv12 --enable-all-crypto --disable-asyncthreads --disable-threadlocal --enable-tlsx
|
||||
emmake make -j$CORE_COUNT
|
||||
make install
|
||||
|
||||
rm -rf $PREFIX/bin
|
||||
rm -rf $PREFIX/share
|
||||
#rm -rf $PREFIX/lib/pkgconfig
|
||||
#rm -rf $PREFIX/lib/*.la
|
||||
rm -rf $PREFIX/lib/pkgconfig
|
||||
rm -rf $PREFIX/lib/*.la
|
||||
|
||||
cd ../../
|
Loading…
Add table
Add a link
Reference in a new issue