diff --git a/emcc.py b/emcc.py index 7b6a7a1512d78..24aa41baf320b 100755 --- a/emcc.py +++ b/emcc.py @@ -2386,7 +2386,7 @@ def generate_html(target, options, js_target, target_basename, %s }; emterpretXHR.send(null); -''' % (shared.Settings.EMTERPRETIFY_FILE, script.inline) +''' % (shared.JS.get_subresource_location(shared.Settings.EMTERPRETIFY_FILE), script.inline) if options.memory_init_file: # start to load the memory init file in the HTML, in parallel with the JS