
Le 29/04/12 15:05, Lars Viklund a écrit :
Additionally, the autolink macros to force symbol decoration and linking for a static link are undocumented in the Boost.Config table [1], which explicitly states that all libraries that can be statically linked will be statically linked. There is no mention of libraries that arbitrarily decide to go dynamic, just that some libraries are only available in dynamic form.
For future reference for anyone finding this in archives, the undocumented, and in this case required, macros to force a static link and symbol decoration are: BOOST_<WHATEVER>_STATIC_LINK or BOOST_ALL_STATIC_LINK
[1] http://www.boost.org/doc/libs/1_49_0/libs/config/doc/html/index.html#boost_c...
Hi, instead of documenting these macros, I will prefer that the the libraries authors that are using _STATIC_LINK follows the protocol as defined in Boost.Config. Best, Vicente