mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-31 14:33:50 +00:00
replace fixed mbedtls version with variable $MBEDTLS_VER
This commit is contained in:
@@ -243,7 +243,7 @@ sudo ldconfig
|
||||
|
||||
# Installation of MbedTLS
|
||||
export MBEDTLS_VER=2.6.0
|
||||
wget https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.6.0.tar.gz
|
||||
wget https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-$MBEDTLS_VER.tar.gz
|
||||
tar xvf mbedtls-$MBEDTLS_VER.tar.gz
|
||||
pushd mbedtls-$MBEDTLS_VER
|
||||
make SHARED=1 CFLAGS="-O2 -fPIC"
|
||||
|
||||
Reference in New Issue
Block a user