summaryrefslogtreecommitdiffstats
path: root/build/SConscript.v8
diff options
context:
space:
mode:
Diffstat (limited to 'build/SConscript.v8')
-rw-r--r--build/SConscript.v84
1 files changed, 4 insertions, 0 deletions
diff --git a/build/SConscript.v8 b/build/SConscript.v8
index ec0bd83..fc7fa81 100644
--- a/build/SConscript.v8
+++ b/build/SConscript.v8
@@ -15,6 +15,10 @@ mode = 'release'
if env['TARGET_DEBUG']:
mode = 'debug'
+# Don't build V8 as a shared object because the v8 scons file doesn't support
+# it.
+env.Replace(COMPONENT_STATIC=True)
+
env = env.Clone(
V8_MODE = mode,
V8_MODE_DIR = '$V8_DIR/obj/$V8_MODE',