summaryrefslogtreecommitdiff
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r--platform/javascript/detect.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index 56b41a49ac..04a6bc9cc3 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -2,12 +2,15 @@ import os
import sys
import string
+
def is_active():
return True
+
def get_name():
return "JavaScript"
+
def can_build():
import os
@@ -15,6 +18,7 @@ def can_build():
return False
return True
+
def get_opts():
return [
@@ -22,6 +26,7 @@ def get_opts():
['javascript_eval', 'Enable JavaScript eval interface', 'yes'],
]
+
def get_flags():
return [
@@ -33,7 +38,6 @@ def get_flags():
]
-
def configure(env):
env['ENV'] = os.environ;
env.use_windows_spawn_fix('javascript')