mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 12:15:42 +01:00
Adds dl link library to OpenSSL example builds
The example o_p_test uses OpenSSL. On some platforms that fails to build unless the dl library is included as a static link library.
This commit is contained in:
parent
7ded99ff64
commit
b2bad3c79b
@ -31,7 +31,7 @@ install(TARGETS selftest benchmark ssl_test ssl_cert_test
|
||||
if(OPENSSL_FOUND)
|
||||
add_executable(o_p_test o_p_test.c)
|
||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
target_link_libraries(o_p_test ${libs} ${OPENSSL_LIBRARIES})
|
||||
target_link_libraries(o_p_test ${libs} ${OPENSSL_LIBRARIES} ${CMAKE_DL_LIBS})
|
||||
|
||||
install(TARGETS o_p_test
|
||||
DESTINATION "bin"
|
||||
|
Loading…
Reference in New Issue
Block a user