mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Test that a shared library build produces a dynamically linked executable
This commit is contained in:
@@ -1030,12 +1030,14 @@ component_test_platform_calloc_macro () {
|
|||||||
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 -j1
|
make SHARED=1 all check -j1
|
||||||
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user