mirror of
https://github.com/monero-project/monero.git
synced 2024-10-30 04:57:36 +00:00
Merge pull request #8795
724441a
link against libz on non Apple/Windows (moneromooo-monero)
This commit is contained in:
commit
dd5445d685
1 changed files with 2 additions and 1 deletions
|
@ -1113,7 +1113,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "(SunOS|Solaris)")
|
|||
set(EXTRA_LIBRARIES socket nsl resolv)
|
||||
elseif(NOT MSVC AND NOT DEPENDS)
|
||||
find_library(RT rt)
|
||||
set(EXTRA_LIBRARIES ${RT})
|
||||
find_library(Z z)
|
||||
set(EXTRA_LIBRARIES ${RT} ${Z})
|
||||
endif()
|
||||
|
||||
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
||||
|
|
Loading…
Reference in a new issue