The library defaults to define BOOST_THREAD_USE_DLL. However, it should be configurable to use either static or shared Boost libraries.