diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 84eb058d..b7ad0d1a 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -52,6 +52,15 @@ # if !defined(__CONSOLE__) && !defined(_NO_VCL) # define BOOST_REGEX_USE_VCL # endif + // + // if this isn't Win32 then don't automatically select link + // libraries: + // +# ifndef _Windows +# define BOOST_REGEX_NO_LIB +# define BOOST_REGEX_STATIC_LINK +# endif + #endif /***************************************************************************** @@ -629,3 +638,4 @@ inline void pointer_construct(T* p, const T& t) +