From e22e47dfccdcdb3f2ff5a91bf7fc898e34e288d2 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 27 Mar 2012 19:14:01 -0400 Subject: [PATCH] scons: when statically linking: link extra icu libs needed by regex --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index c014b9bb5..95726262f 100644 --- a/SConstruct +++ b/SConstruct @@ -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