Fix WebAssembly builds on Windows

This commit is contained in:
eska
2017-02-21 22:47:33 +01:00
parent de0045cf1b
commit 6e1828c958
2 changed files with 29 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ basename = "godot" + env["PROGSUFFIX"] # output file name without file extension
# placeholder while leaving extension; also change `.html.mem` to just `.mem`
fixup_html = env.Substfile(html_file, SUBST_DICT=[(basename, '$$GODOT_BASE'), ('.html.mem', '.mem')], SUBSTFILESUFFIX='.fixup.html')
zip_dir = env.Dir('#bin/js_zip')
zip_dir = env.Dir('#bin/.javascript_zip')
zip_files = []
js_file = env.SideEffect(html_file.File(basename+'.js'), html_file)
zip_files.append(env.InstallAs(