mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
openssl: make sure tests have -ldl v2
https://github.com/warmcat/libwebsockets/issues/1662
This commit is contained in:
parent
de978800f0
commit
bd5e3ccec4
1 changed files with 5 additions and 0 deletions
|
@ -1849,6 +1849,11 @@ if (LWS_HAVE_LIBCAP)
|
|||
list(APPEND LIB_LIST cap )
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
list(APPEND LIB_LIST dl)
|
||||
endif()
|
||||
|
||||
|
||||
# Setup the linking for all libs.
|
||||
foreach (lib ${LWS_LIBRARIES})
|
||||
target_link_libraries(${lib} ${LIB_LIST})
|
||||
|
|
Loading…
Add table
Reference in a new issue