Fix boost_regex compiled with ICU support
check for BOOST_VERSION >= 1_70
This commit is contained in:
parent
e82c6e65fb
commit
77483e4266
1 changed files with 1 additions and 0 deletions
|
@ -1150,6 +1150,7 @@ int main()
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def boost_regex_has_icu(context):
|
def boost_regex_has_icu(context):
|
||||||
|
context.env.Append(LIBS='icui18n')
|
||||||
if env['RUNTIME_LINK'] == 'static':
|
if env['RUNTIME_LINK'] == 'static':
|
||||||
# re-order icu libs to ensure linux linker is happy
|
# re-order icu libs to ensure linux linker is happy
|
||||||
for lib_name in ['icui18n',env['ICU_LIB_NAME'],'icudata']:
|
for lib_name in ['icui18n',env['ICU_LIB_NAME'],'icudata']:
|
||||||
|
|
Loading…
Reference in a new issue