summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wscript')
-rw-r--r--JavaScriptCore/wscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/JavaScriptCore/wscript b/JavaScriptCore/wscript
index e50b18d..d85364c 100644
--- a/JavaScriptCore/wscript
+++ b/JavaScriptCore/wscript
@@ -36,12 +36,13 @@ sources = []
jscore_excludes.extend(get_excludes(jscore_dir, ['*None.cpp']))
-if building_on_win32:
- jscore_excludes += ['MarkStackPosix.cpp', 'ThreadingPthreads.cpp']
- sources += ['runtime/MarkStackWin.cpp']
-else:
- jscore_excludes.append('JSStringRefBSTR.cpp')
- jscore_excludes.extend(get_excludes(jscore_dir, ['*Win.cpp']))
+if build_port == "wx":
+ if building_on_win32:
+ jscore_excludes += ['MarkStackPosix.cpp', 'ThreadingPthreads.cpp']
+ sources += ['runtime/MarkStackWin.cpp']
+ else:
+ jscore_excludes.append('JSStringRefBSTR.cpp')
+ jscore_excludes.extend(get_excludes(jscore_dir, ['*Win.cpp']))
def build(bld):
import Options