mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
link against libz on non Apple/Windows
Needed by libcrypto at least
This commit is contained in:
parent
f307621678
commit
724441a782
@ -1113,7 +1113,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "(SunOS|Solaris)")
|
|||||||
set(EXTRA_LIBRARIES socket nsl resolv)
|
set(EXTRA_LIBRARIES socket nsl resolv)
|
||||||
elseif(NOT MSVC AND NOT DEPENDS)
|
elseif(NOT MSVC AND NOT DEPENDS)
|
||||||
find_library(RT rt)
|
find_library(RT rt)
|
||||||
set(EXTRA_LIBRARIES ${RT})
|
find_library(Z z)
|
||||||
|
set(EXTRA_LIBRARIES ${RT} ${Z})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
||||||
|
Loading…
Reference in New Issue
Block a user