scons: when statically linking: link extra icu libs needed by regex

This commit is contained in:
Dane Springmeyer 2012-03-27 19:14:01 -04:00
parent 9d1afbbfc6
commit e22e47dfcc

View file

@ -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>