summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/makemakefile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-12 14:09:34 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-12 14:09:34 (GMT)
commitc8f859a487c375983ec48102b108001a65d38e4b (patch)
tree3cf6c0bfeaafb7cb06ddc2b6b5382b462f8b9878 /Tools/freeze/makemakefile.py
parent590fc2c4fa9f831d5a1e5f7f3b59135f74f7e4ec (diff)
downloadcpython-c8f859a487c375983ec48102b108001a65d38e4b.zip
cpython-c8f859a487c375983ec48102b108001a65d38e4b.tar.gz
cpython-c8f859a487c375983ec48102b108001a65d38e4b.tar.bz2
Jonathan Giddy:
This second problem only shows up if LDLAST is not an empty string (such as with threads enabled on DEC Alphas).
Diffstat (limited to 'Tools/freeze/makemakefile.py')
-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)