replace fixed mbedtls version with variable $MBEDTLS_VER

This commit is contained in:
rickyrick2002
2022-10-25 11:59:31 +08:00
committed by Max Lv
parent a3b1dc7f37
commit 7f7f68afe4
+1 -1
View File
@@ -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"