aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-26 17:43:57 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-03-26 17:43:57 -0700
commite01dac87dae70222db7b8c0a8f3301b368f8b67b (patch)
tree5150da8a057bd0baf0a701f476fb35efd25d50d0 /emcc
parentdc47bec2afff58e8c0d681cf3e885fad86637f6c (diff)
typo in .d code generation
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc3
1 files changed, 2 insertions, 1 deletions
diff --git a/emcc b/emcc
index 22cf929e..1af9de86 100755
--- a/emcc
+++ b/emcc
@@ -1434,7 +1434,8 @@ try:
# adjusting the target name away from the temporary file name to the specified target.
# It will be deleted with the rest of the temporary directory.
deps = open(temp_output_base + '.d').read()
- deps = deps.replace(temp_output_base + default_object_ext, specified_target)
+
+ deps = deps.replace(temp_output_base + default_object_extension, specified_target)
with open(os.path.join(os.path.dirname(specified_target), os.path.basename(unsuffixed(input_files[0]) + '.d')), "w") as out_dep:
out_dep.write(deps)
else: