8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10aff3d commit cb2da47Copy full SHA for cb2da47
script/install-deps-linux.sh
@@ -5,7 +5,8 @@ set -x
5
if [ "$MBEDTLS" ]; then
6
git clone --depth 10 --single-branch --branch mbedtls-2.6.1 https://github.com/ARMmbed/mbedtls.git ./deps/mbedtls
7
cd ./deps/mbedtls
8
- cmake -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF .
+ # We pass -fPIC explicitely because we'll include it in libgit2.so
9
+ CFLAGS=-fPIC cmake -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON .
10
cmake --build .
11
12
echo "mbedTLS built in `pwd`"
0 commit comments