1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-06 12:00:59 +03:00

cmake: Install libmbedcrypto.* libraries

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron
2025-09-19 17:16:01 +02:00
parent a33b371f36
commit 35d59c6cb6
3 changed files with 42 additions and 1 deletions

View File

@@ -138,6 +138,16 @@ component_test_cmake_as_package_install () {
cd programs/test/cmake_package_install
cmake .
make
if ! cmp -s "mbedtls/lib/libtfpsacrypto.a" "mbedtls/lib/libmbedcrypto.a"; then
echo "Error: Crypto static libraries are different or one of them is missing/unreadable." >&2
exit 1
fi
if ! cmp -s "mbedtls/lib/libtfpsacrypto.so" "mbedtls/lib/libmbedcrypto.so"; then
echo "Error: Crypto shared libraries are different or one of them is missing/unreadable." >&2
exit 1
fi
./cmake_package_install
}