Fix boost_regex compiled with ICU support check for BOOST_VERSION >= 1_70

This commit is contained in:
Artem Pavlenko 2019-11-15 13:55:09 +00:00
parent e82c6e65fb
commit 77483e4266

View file

@ -1150,6 +1150,7 @@ int main()
return ret
def boost_regex_has_icu(context):
context.env.Append(LIBS='icui18n')
if env['RUNTIME_LINK'] == 'static':
# re-order icu libs to ensure linux linker is happy
for lib_name in ['icui18n',env['ICU_LIB_NAME'],'icudata']: