mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
openssl: make sure tests have -ldl
https://github.com/warmcat/libwebsockets/issues/1662
This commit is contained in:
parent
61b5a37a3a
commit
89b9308746
1 changed files with 4 additions and 0 deletions
|
@ -1905,6 +1905,10 @@ if (LWS_WITH_ZLIB)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
list(APPEND LIB_LIST dl)
|
||||
endif()
|
||||
|
||||
CHECK_FUNCTION_EXISTS(SSL_CTX_set1_param LWS_HAVE_SSL_CTX_set1_param)
|
||||
CHECK_FUNCTION_EXISTS(SSL_set_info_callback LWS_HAVE_SSL_SET_INFO_CALLBACK)
|
||||
CHECK_FUNCTION_EXISTS(X509_VERIFY_PARAM_set1_host LWS_HAVE_X509_VERIFY_PARAM_set1_host)
|
||||
|
|
Loading…
Add table
Reference in a new issue