X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/fb8617cde5834786bd4e4afd579883e4acf5666e..4e4e5a6f2694187498445a6ac6f1634ce8141119:/wscript diff --git a/wscript b/wscript index f5a041f..61ad1fb 100644 --- a/wscript +++ b/wscript @@ -30,7 +30,7 @@ import commands from settings import * jscore_excludes = ['jsc.cpp', 'ucptable.cpp'] -jscore_excludes.extend(get_excludes(jscore_dir, ['*CF.cpp', '*Symbian.cpp'])) +jscore_excludes.extend(get_excludes(jscore_dir, ['*Brew.cpp', '*CF.cpp', '*Symbian.cpp'])) sources = [] @@ -72,11 +72,13 @@ def build(bld): full_dirs = get_dirs_for_features(jscore_dir, features=[build_port], dirs=jscore_dirs) includes = common_includes + full_dirs + if sys.platform.startswith('darwin'): + includes.append(os.path.join(jscore_dir, 'icu')) # 1. A simple program jscore = bld.new_task_gen( features = 'cxx cstaticlib', - includes = '. .. assembler wrec DerivedSources ForwardingHeaders ' + ' '.join(includes), + includes = '. .. assembler DerivedSources ForwardingHeaders ' + ' '.join(includes), source = sources, target = 'jscore', uselib = 'WX ICU ' + get_config(), @@ -87,7 +89,7 @@ def build(bld): obj = bld.new_task_gen( features = 'cxx cprogram', - includes = '. .. assembler wrec DerivedSources ForwardingHeaders ' + ' '.join(includes), + includes = '. .. assembler DerivedSources ForwardingHeaders ' + ' '.join(includes), source = 'jsc.cpp', target = 'jsc', uselib = 'WX ICU ' + get_config(),