summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/SConscript.googleurl2
-rw-r--r--build/SConscript.main6
2 files changed, 7 insertions, 1 deletions
diff --git a/build/SConscript.googleurl b/build/SConscript.googleurl
index 844def0..9792fb5 100644
--- a/build/SConscript.googleurl
+++ b/build/SConscript.googleurl
@@ -60,7 +60,7 @@ env_tests.Append(
LIBS = [
'googleurl',
'base',
- 'icuuc',
+ env_tests['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed
'gtest',
]
)
diff --git a/build/SConscript.main b/build/SConscript.main
index 5a9f0a7..f19a459 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -249,6 +249,8 @@ if env['PLATFORM'] == 'win32':
'/nologo',
'/DEBUG',
],
+
+ ICU_LIBS = ['icu'],
)
env.Append(
@@ -333,6 +335,8 @@ elif env['PLATFORM'] == 'posix':
'PERL_INCLUDE_PATH, '
'PERL_INCLUDE_SUFFIX,'
'__env__, RDirs, TARGET, SOURCE)}'),
+
+ ICU_LIBS = ['icu'],
)
# Build with support for gcov when COVERAGE=1.
if ARGUMENTS.get('COVERAGE') == '1':
@@ -397,6 +401,8 @@ elif env['PLATFORM'] == 'darwin':
'ApplicationServices',
'Foundation',
],
+
+ ICU_LIBS = ['icu'],
)
else: