diff --git a/client/tools/all_deps.sh b/client/tools/all_deps.sh index 3df44b1..385ad70 100755 --- a/client/tools/all_deps.sh +++ b/client/tools/all_deps.sh @@ -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 diff --git a/client/tools/wolfssl.sh b/client/tools/wolfssl.sh index 74fb50c..ca40dca 100755 --- a/client/tools/wolfssl.sh +++ b/client/tools/wolfssl.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 ../../ \ No newline at end of file