diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 0c83e16..c6d8919 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -876,6 +876,10 @@ target_compile_definitions(crypto "-DMODULESDIR=\"${OPENSSL_MODULESDIR_ABSOLUTE}\"" ) +if (OPENSSL_ASM AND ( OPENSSL_TARGET_ARCH STREQUAL "arm32" ) AND NOT MSVC) + target_link_options(crypto PUBLIC "-Wl,-Bsymbolic") +endif() + if (WIN32) target_link_libraries(crypto PUBLIC ws2_32 crypt32