mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 06:20:02 -04:00
support http/2
This commit is contained in:
parent
8bcfc2157c
commit
baab0aea8f
6 changed files with 36 additions and 3 deletions
|
@ -14,6 +14,8 @@ rm -rf openssl
|
|||
git clone -b master --depth=1 https://github.com/openssl/openssl
|
||||
cd openssl
|
||||
|
||||
export CFLAGS="-Wall -Oz"
|
||||
export CXXFLAGS="-Wall -Oz"
|
||||
emconfigure ./Configure linux-x32 --prefix=$PREFIX -no-asm -static -no-afalgeng -no-dso -DOPENSSL_SYS_NETWARE -DSIG_DFL=0 -DSIG_IGN=0 -DHAVE_FORK=0 -DOPENSSL_NO_AFALGENG=1 -DOPENSSL_NO_SPEED=1 -DOPENSSL_NO_DYNAMIC_ENGINE -DDLOPEN_FLAG=0
|
||||
sed -i 's|^CROSS_COMPILE.*$|CROSS_COMPILE=|g' Makefile
|
||||
emmake make -j$CORE_COUNT build_generated libssl.a libcrypto.a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue