Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 465 Bytes
tar xf openssl-1.1.0h.tar.gz
cd openssl-1.1.0h
emconfigure ./Configure linux-generic64 --prefix=$EMSCRIPTEN/system
sed -i 's|^CROSS_COMPILE.*$|CROSS_COMPILE=|g' Makefile
emmake make -j 12 build_generated libssl.a libcrypto.a
rm -rf $EMSCRIPTEN/system/include/openssl
cp -R include/openssl $EMSCRIPTEN/system/include
cp libcrypto.a libssl.a $EMSCRIPTEN/system/lib
cd ..
rm -rf openssl-1.1.0h*
You can’t perform that action at this time.