need to link with -ldl on Linux when building statically

This commit is contained in:
Riccardo Spagni 2014-10-06 21:17:31 +02:00
parent e55982a892
commit b05e27f8b1
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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()