diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-12 16:26:22 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-12 16:26:22 -0500 |
commit | 3a156a34e83fa301b8abbac6effdb5bd21d9be11 (patch) | |
tree | c49e684dec9b04496ccd256ad2a1e6e420178e47 /emcc | |
parent | 217dbc2b3f0f5eb483790ca6836fa58a09936030 (diff) |
get almost all of embind test passing
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -986,7 +986,10 @@ try: # Add bindings glue if used if bind: if DEBUG: print >> sys.stderr, 'emcc: adding embind glue' - src = open(final).read().replace('// {{PRE_RUN_ADDITIONS}}', '// {{PRE_RUN_ADDITIONS}}\n' + open(shared.path_from_root('src', 'embind', 'embind.js')).read()) + src = open(final).read().replace('// {{PRE_RUN_ADDITIONS}}', '// {{PRE_RUN_ADDITIONS}}\n' + + open(shared.path_from_root('src', 'embind', 'embind.js')).read() + + open(shared.path_from_root('src', 'embind', 'emval.js')).read() + ) final += '.bd.js' open(final, 'w').write(src) if DEBUG: save_intermediate('bind') |