coin, macOS, FFmpeg: Fix install-ffmpeg-android.sh

Script would previously unconditionally run ln even if target file
sometimes exists in precompiled OpenSSL library.

Pick-to: 6.8
Change-Id: I90c4ad7c6cbf9207c2c82114936b478a9ba4ae54
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Nils Petter Skålerud
2024-10-23 10:38:37 +02:00
parent 400776459b
commit 758ac7896f

View File

@@ -57,8 +57,8 @@ build_ffmpeg_android() {
libs_prefix="_arm64-v8a"
fi
ln -s "${openssl_libs}/libcrypto_3.so" "${openssl_libs}/libcrypto.so"
ln -s "${openssl_libs}/libssl_3.so" "${openssl_libs}/libssl.so"
ln -Ffs "${openssl_libs}/libcrypto_3.so" "${openssl_libs}/libcrypto.so"
ln -Ffs "${openssl_libs}/libssl_3.so" "${openssl_libs}/libssl.so"
api_version=24