summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/freeze/makemakefile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/freeze/makemakefile.py b/Tools/freeze/makemakefile.py
index 652a503..4d9913e 100644
--- a/Tools/freeze/makemakefile.py
+++ b/Tools/freeze/makemakefile.py
@@ -24,6 +24,7 @@ def makemakefile(outfp, makevars, files, target):
deps.append(dest)
outfp.write("\n%s: %s\n" % (target, string.join(deps)))
- outfp.write("\t$(CC) %s -o %s\n" % (string.join(files), target))
+ outfp.write("\t$(CC) %s -o %s $(LDLAST)\n" %
+ (string.join(files), target))
outfp.write("\nclean:\n\t-rm -f *.o %s\n" % target)