diff options
author | Marc-André Lemburg <mal@egenix.com> | 2002-04-04 16:15:41 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2002-04-04 16:15:41 (GMT) |
commit | 64b4f2770ef844714f063848a3078c979323c71c (patch) | |
tree | 2f68032a0f4080d465b2320569e5f153558adbba /Tools/freeze/makemakefile.py | |
parent | 47834463d0b6609986b291e3b1a085225118afd3 (diff) | |
download | cpython-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.py | 2 |
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) |