Index: src/SConscript |
diff --git a/src/SConscript b/src/SConscript |
index 34ca91ca65b20b3cc96b50ccbdfa2518b8e0d4ba..598e4af56ef2e81121e525bc737eff7de67446fc 100755 |
--- a/src/SConscript |
+++ b/src/SConscript |
@@ -31,6 +31,7 @@ root_dir = dirname(File('SConstruct').rfile().abspath) |
sys.path.append(join(root_dir, 'tools')) |
import js2c |
Import('context') |
+Import('tools') |
SOURCES = { |
@@ -305,7 +306,7 @@ def Abort(message): |
def ConfigureObjectFiles(): |
- env = Environment() |
+ env = Environment(tools=tools) |
env.Replace(**context.flags['v8']) |
context.ApplyEnvOverrides(env) |
env['BUILDERS']['JS2C'] = Builder(action=js2c.JS2C) |