need to link with -ldl on Linux when building statically
This commit is contained in:
parent
e55982a892
commit
b05e27f8b1
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue