Shared libraries now finally work with Mingw GCC-4.5.0.

[SVN r65807]
This commit is contained in:
John Maddock
2010-10-07 15:40:24 +00:00
parent 27eb8e46ff
commit a35cb5b902
3 changed files with 11 additions and 6 deletions

View File

@ -102,11 +102,13 @@ SOURCES =
lib boost_regex : ../src/$(SOURCES) icu_options lib boost_regex : ../src/$(SOURCES) icu_options
: :
<link>shared:<define>BOOST_REGEX_DYN_LINK=1 <link>shared:<define>BOOST_REGEX_DYN_LINK=1
<toolset>gcc-mw:<link>static #<toolset>gcc-mw:<link>static
<toolset>gcc-mingw:<link>static #<toolset>gcc-mingw:<link>static
<toolset>gcc-cygwin:<link>static <toolset>gcc-cygwin:<link>static
; ;
boost-install boost_regex ; boost-install boost_regex ;

View File

@ -14,8 +14,8 @@ project
<toolset>gcc:<warnings>all <toolset>gcc:<warnings>all
<toolset>gcc:<cxxflags>-Wextra <toolset>gcc:<cxxflags>-Wextra
<define>U_USING_ICU_NAMESPACE=0 <define>U_USING_ICU_NAMESPACE=0
<toolset>gcc-mw:<link>static #<toolset>gcc-mw:<link>static
<toolset>gcc-mingw:<link>static #<toolset>gcc-mingw:<link>static
<toolset>gcc-cygwin:<link>static <toolset>gcc-cygwin:<link>static
; ;
@ -78,3 +78,4 @@ test-suite regex-examples :

View File

@ -17,8 +17,8 @@ project
<toolset>gcc:<cxxflags>-Wextra <toolset>gcc:<cxxflags>-Wextra
<toolset>gcc:<cxxflags>-Wshadow <toolset>gcc:<cxxflags>-Wshadow
<define>U_USING_ICU_NAMESPACE=0 <define>U_USING_ICU_NAMESPACE=0
<toolset>gcc-mw:<link>static #<toolset>gcc-mw:<link>static
<toolset>gcc-mingw:<link>static #<toolset>gcc-mingw:<link>static
<toolset>gcc-cygwin:<link>static <toolset>gcc-cygwin:<link>static
; ;
@ -177,3 +177,5 @@ test-suite regex
; ;
build-project ../example ; build-project ../example ;