mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
fix unbound ssl linking
This commit is contained in:
parent
0ecdf60777
commit
cdd57ac09b
@ -178,8 +178,10 @@ build_external(unbound
|
|||||||
"CC=${deps_cc}" "CFLAGS=-O2 ${flto}"
|
"CC=${deps_cc}" "CFLAGS=-O2 ${flto}"
|
||||||
)
|
)
|
||||||
add_static_target(libunbound unbound_external libunbound.a)
|
add_static_target(libunbound unbound_external libunbound.a)
|
||||||
if(WIN32)
|
if(NOT WIN32)
|
||||||
set_target_properties(libunbound PROPERTIES INTERFACE_LINK_LIBRARIES "ws2_32;crypt32;iphlpapi")
|
set_target_properties(libunbound PROPERTIES INTERFACE_LINK_LIBRARIES "OpenSSL::SSL;OpenSSL::Crypto")
|
||||||
|
else()
|
||||||
|
set_target_properties(libunbound PROPERTIES INTERFACE_LINK_LIBRARIES "OpenSSL::SSL;OpenSSL::Crypto;ws2_32;crypt32;iphlpapi")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user