summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/makemakefile.py
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2002-04-04 16:15:41 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2002-04-04 16:15:41 (GMT)
commit64b4f2770ef844714f063848a3078c979323c71c (patch)
tree2f68032a0f4080d465b2320569e5f153558adbba /Tools/freeze/makemakefile.py
parent47834463d0b6609986b291e3b1a085225118afd3 (diff)
downloadcpython-64b4f2770ef844714f063848a3078c979323c71c.zip
cpython-64b4f2770ef844714f063848a3078c979323c71c.tar.gz
cpython-64b4f2770ef844714f063848a3078c979323c71c.tar.bz2
Updated freeze.py to the new Makefile symbol layout.
Fixed a few compiler warnings. freeze.py now produces binaries which can import shared modules (unlike before).
Diffstat (limited to 'Tools/freeze/makemakefile.py')
-rw-r--r--Tools/freeze/makemakefile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/makemakefile.py b/Tools/freeze/makemakefile.py
index b1bad2b..e33e32e 100644
--- a/Tools/freeze/makemakefile.py
+++ b/Tools/freeze/makemakefile.py
@@ -24,7 +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 $(LDLAST)\n" %
+ outfp.write("\t$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) %s -o %s $(LDLAST)\n" %
(string.join(files), target))
outfp.write("\nclean:\n\t-rm -f *.o %s\n" % target)