forked from boostorg/regex
Removed non-functioning msvc link command from Jamfile, added user32.lib forced link to w32_regex_traits.cpp
[SVN r10886]
This commit is contained in:
@ -1,13 +1,11 @@
|
||||
subproject libs/regex/example ;
|
||||
|
||||
NOCARE user32.lib ;
|
||||
|
||||
exe timer : timer/regex_timer.cpp
|
||||
<lib>../build/libboost_regex$(SUFLIB)
|
||||
:
|
||||
<include>$(BOOST_ROOT)
|
||||
<define>BOOST_RE_NO_LIB=1
|
||||
<msvc><*><find-library>user32.lib
|
||||
:
|
||||
debug
|
||||
<runtime-link>dynamic
|
||||
@ -146,3 +144,4 @@ exe regex_split_example_2 : snippets/regex_split_example_2.cpp
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -32,6 +32,13 @@
|
||||
|
||||
#if defined(_WIN32) && !defined(BOOST_RE_NO_W32)
|
||||
|
||||
//
|
||||
// VC6 needs to link to user32.lib:
|
||||
//
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma comment(lib, "user32.lib")
|
||||
#endif
|
||||
|
||||
namespace{
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user