mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 09:25:38 +00:00
Test that a shared library build produces a dynamically linked executable
This commit is contained in:
parent
2c47ffc37f
commit
dc25c32663
|
@ -968,12 +968,14 @@ component_test_aes_fewer_tables_and_rom_tables () {
|
||||||
component_test_make_shared () {
|
component_test_make_shared () {
|
||||||
msg "build/test: make shared" # ~ 40s
|
msg "build/test: make shared" # ~ 40s
|
||||||
make SHARED=1 all check
|
make SHARED=1 all check
|
||||||
|
ldd programs/util/strerror | grep libmbedcrypto
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_cmake_shared () {
|
component_test_cmake_shared () {
|
||||||
msg "build/test: cmake shared" # ~ 2min
|
msg "build/test: cmake shared" # ~ 2min
|
||||||
cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On .
|
cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On .
|
||||||
make
|
make
|
||||||
|
ldd programs/util/strerror | grep libmbedcrypto
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue