Update dependencies

This commit is contained in:
BtbN
2024-03-29 19:27:33 +01:00
parent 2660e7562a
commit 6fe041f6eb
38 changed files with 47 additions and 43 deletions

View File

@ -1,13 +1,18 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/ARMmbed/mbedtls.git"
SCRIPT_COMMIT="v3.5.2"
SCRIPT_COMMIT="v3.6.0"
SCRIPT_TAGFILTER="v3.*"
ffbuild_enabled() {
return 0
}
ffbuild_dockerdl() {
default_dl .
echo "git submodule update --init --recursive --depth=1"
}
ffbuild_dockerbuild() {
if [[ $TARGET == win32 ]]; then
python3 scripts/config.py unset MBEDTLS_AESNI_C
@ -21,4 +26,8 @@ ffbuild_dockerbuild() {
..
make -j$(nproc)
make install
if [[ $TARGET == win* ]]; then
echo "Libs.private: -lws2_32 -lbcrypt -lwinmm -lgdi32" >> "$FFBUILD_PREFIX"/lib/pkgconfig/mbedcrypto.pc
fi
}