fixed library name, build works now on FreeBSD 11.1

This commit is contained in:
Christian Müller 2018-02-11 21:26:01 +01:00 committed by androm3da
commit 7d9fab8614

View file

@ -360,7 +360,7 @@ set_target_properties (secure node rai_node PROPERTIES LINK_FLAGS "${PLATFORM_LI
if (WIN32)
set (PLATFORM_LIBS Ws2_32 mswsock iphlpapi ntdll)
else (WIN32)
set (PLATFORM_LIBS pthread dl)
set (PLATFORM_LIBS pthread ${CMAKE_DL_LIBS})
endif (WIN32)
if (WIN32)