need to link with -ldl on Linux when building statically

pull/95/head
Riccardo Spagni 10 years ago
parent e55982a892
commit b05e27f8b1
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -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…
Cancel
Save