need to link with -ldl on Linux when building statically
This commit is contained in:
parent
e55982a892
commit
b05e27f8b1
|
@ -217,6 +217,7 @@ if(MINGW)
|
|||
elseif(APPLE OR FREEBSD)
|
||||
set(Boost_LIBRARIES "${Boost_LIBRARIES}")
|
||||
elseif(NOT MSVC)
|
||||
set(Boost_LIBRARIES "${Boost_LIBRARIES};ld")
|
||||
#set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue