diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-30 13:44:29 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-30 13:44:29 -0700 |
commit | b01d44eb552e77f3a4ff3a0a7cfd19de5082e72c (patch) | |
tree | c4e274dc3438c5f233151b15042a4f8b40acfe2c /emscripten.py | |
parent | 2725cfa316f2749fa6dbedc34e23f5445dfbcf7f (diff) | |
parent | 2370dd4b6f32b9be38c736b3060ba690a720483f (diff) |
Merge branch 'incoming' of github.com:ngld/emscripten into incoming1.6.4
Conflicts:
AUTHORS
src/library_sdl.js
tools/shared.py
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index 2d7b3daf..b70f2abb 100755 --- a/emscripten.py +++ b/emscripten.py @@ -714,7 +714,14 @@ def main(args, compiler_engine, cache, jcache, relooper, temp_files, DEBUG, DEBU if not os.path.exists(relooper): from tools import shared shared.Building.ensure_relooper(relooper) - + + settings.setdefault('STRUCT_INFO', cache.get_path('struct_info.compiled.json')) + struct_info = settings.get('STRUCT_INFO') + + if not os.path.exists(struct_info): + from tools import shared + shared.Building.ensure_struct_info(struct_info) + emscript(args.infile, settings, args.outfile, libraries, compiler_engine=compiler_engine, jcache=jcache, temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE) |