scons: when statically linking: link extra icu libs needed by regex
This commit is contained in:
parent
9d1afbbfc6
commit
e22e47dfcc
1 changed files with 3 additions and 0 deletions
|
@ -810,6 +810,9 @@ int main()
|
|||
return False
|
||||
|
||||
def boost_regex_has_icu(context):
|
||||
if env['RUNTIME_LINK'] == 'static':
|
||||
context.env.Append(LIBS='icui18n')
|
||||
context.env.Append(LIBS='icudata')
|
||||
ret = context.TryRun("""
|
||||
|
||||
#include <boost/regex/icu.hpp>
|
||||
|
|
Loading…
Reference in a new issue