forked from boostorg/regex
Compare commits
86 Commits
svn-branch
...
boost-1.40
Author | SHA1 | Date | |
---|---|---|---|
fa1ef1dfd4 | |||
438dcae4e4 | |||
7f89732479 | |||
a3b2f4031d | |||
513a205564 | |||
01eadc4ab6 | |||
be62e08702 | |||
3b8aca5d8b | |||
8f15600081 | |||
3e903e9c8e | |||
083ea3a6c7 | |||
2d43c1b305 | |||
e81f710567 | |||
3b3a3ce6d1 | |||
5e4ccdf0cf | |||
371ad14a3f | |||
9219aa0b5b | |||
5471176846 | |||
756a875620 | |||
b7d906dff5 | |||
a08e8b5c85 | |||
9546df1f23 | |||
b39edff796 | |||
788c8a8470 | |||
c527b20062 | |||
a65bccab1c | |||
8fffb1250e | |||
069e845239 | |||
79d7e84f26 | |||
45891854d9 | |||
a159bacf3f | |||
97daf0f81f | |||
dc01b7833e | |||
ff95eb8d98 | |||
c48d7bb478 | |||
3cd2b52030 | |||
f5af9ba18d | |||
3e68fcb703 | |||
1fe19b815a | |||
d44bf8c41d | |||
5b9e134fc4 | |||
2643fcb245 | |||
7ac90de75a | |||
2ebe6d4ec7 | |||
b93dc9c301 | |||
1b0ab17df9 | |||
07016623eb | |||
4c56f3c14e | |||
95e3612e72 | |||
fdf8aa83ec | |||
c1722ff3de | |||
77e43136d1 | |||
f5449c38a6 | |||
5654efcf98 | |||
8d5985ce42 | |||
bb8f057d6c | |||
9002d01f75 | |||
b057d0f943 | |||
67128fa65f | |||
9fc486658f | |||
f4d849ec8f | |||
db4120e46d | |||
c4d064add8 | |||
65347f0f7f | |||
d3b885e20b | |||
60b6dbf275 | |||
443a498845 | |||
7a3a6dc7c6 | |||
37b39f6635 | |||
b473011375 | |||
0a998e8bc8 | |||
eb93be73eb | |||
eb791cd1c3 | |||
5928770c46 | |||
2d6fea3308 | |||
b58521163b | |||
921b0d758e | |||
dae6cbfead | |||
17a038b672 | |||
ccc52a8a63 | |||
01cc2aaa50 | |||
4370fe4607 | |||
171749f440 | |||
c1c2058d3d | |||
1a732d8c6a | |||
f0ae398ada |
@ -200,7 +200,7 @@ if $(gHAS_ICU)
|
|||||||
if $(ICU_PATH) != "/usr" && $(ICU_PATH) != "/usr/local"
|
if $(ICU_PATH) != "/usr" && $(ICU_PATH) != "/usr/local"
|
||||||
{
|
{
|
||||||
BOOST_REGEX_ICU_OPTS += "<include>$(ICU_PATH)/include" ;
|
BOOST_REGEX_ICU_OPTS += "<include>$(ICU_PATH)/include" ;
|
||||||
ICU_SEARCH_OPTS = <search>/$(ICU_PATH)/lib ;
|
ICU_SEARCH_OPTS = <search>$(ICU_PATH)/lib ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -221,17 +221,20 @@ if $(gHAS_ICU)
|
|||||||
{
|
{
|
||||||
lib icucore : : <name>$(gICU_CORE_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
|
lib icucore : : <name>$(gICU_CORE_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
|
||||||
ICU_EXTRA_SOURCE = icucore ;
|
ICU_EXTRA_SOURCE = icucore ;
|
||||||
|
explicit icucore ;
|
||||||
}
|
}
|
||||||
if $(gICU_IN_LIB)
|
if $(gICU_IN_LIB)
|
||||||
{
|
{
|
||||||
lib icuin : : <name>$(gICU_IN_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
|
lib icuin : : <name>$(gICU_IN_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
|
||||||
ICU_EXTRA_SOURCE += icuin ;
|
ICU_EXTRA_SOURCE += icuin ;
|
||||||
|
explicit icuin ;
|
||||||
}
|
}
|
||||||
#Added by Tommy Nordgren libicudata must be linked against on Mac OS X
|
#Added by Tommy Nordgren libicudata must be linked against on Mac OS X
|
||||||
if $(gICU_DATA_LIB)
|
if $(gICU_DATA_LIB)
|
||||||
{
|
{
|
||||||
lib icudata : : <name>$(gICU_DATA_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
|
lib icudata : : <name>$(gICU_DATA_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
|
||||||
ICU_EXTRA_SOURCE += icudata ;
|
ICU_EXTRA_SOURCE += icudata ;
|
||||||
|
explicit icudata ;
|
||||||
}
|
}
|
||||||
#End of addition by Tommy Nordgren
|
#End of addition by Tommy Nordgren
|
||||||
}
|
}
|
||||||
@ -267,9 +270,36 @@ lib boost_regex : ../src/$(SOURCES) $(ICU_EXTRA_SOURCE) icu_config2 icu_config
|
|||||||
<toolset>gcc-mingw:<link>static
|
<toolset>gcc-mingw:<link>static
|
||||||
<toolset>gcc-cygwin:<link>static
|
<toolset>gcc-cygwin:<link>static
|
||||||
$(BOOST_REGEX_ICU_OPTS)
|
$(BOOST_REGEX_ICU_OPTS)
|
||||||
|
<conditional>@force-shared-linking
|
||||||
;
|
;
|
||||||
|
|
||||||
|
shared-linking-warning-emitted = ;
|
||||||
|
|
||||||
|
# The ICU is shipped as shared libraries with dynamic runtime.
|
||||||
|
# If Boost.Regex is built against static runtime, the combination
|
||||||
|
# will not work. The below rule forces shared runtime, and
|
||||||
|
# prints an explanation.
|
||||||
|
rule force-shared-linking ( properties * )
|
||||||
|
{
|
||||||
|
if $(gHAS_ICU)
|
||||||
|
{
|
||||||
|
if <runtime-link>static in $(properties)
|
||||||
|
{
|
||||||
|
if ! $(shared-linking-warning-emitted)
|
||||||
|
{
|
||||||
|
shared-linking-warning-emitted = 1 ;
|
||||||
|
ECHO "warning: forcing runtime-link=shared for Boost.Regex" ;
|
||||||
|
ECHO "warning: this is required when using the ICU library" ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return <runtime-link>shared ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
alias icu_options : $(ICU_EXTRA_SOURCE) : : : $(BOOST_REGEX_ICU_OPTS) ;
|
alias icu_options : $(ICU_EXTRA_SOURCE) : : : $(BOOST_REGEX_ICU_OPTS) ;
|
||||||
|
explicit icu_options ;
|
||||||
|
|
||||||
boost-install boost_regex ;
|
boost-install boost_regex ;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user