Re: [asio-users] Can not get a static build of system
Brought to you by:
chris_kohlhoff
From: gchen <che...@gm...> - 2007-12-29 07:47:39
|
Console Joker wrote: > I run bjam on system, but all it outputs is a DLL. I even pass the link static option in the bjam command line and it still builds a DLL. > > Is there a way to build a static lib of system? There must be because one is defined in the jam file. > > Any help is appreciated. > Try this: Add 2 macros in boost\config\user.hpp #define BOOST_ERROR_CODE_HEADER_ONLY #define BOOST_SYSTEM_DECL inline thus Boost.System will become a header only library, I have be using this method with boost svn for some time, no problem. Good luck. |