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/makefreeze.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/makefreeze.py')
-rw-r--r-- | Tools/freeze/makefreeze.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/freeze/makefreeze.py b/Tools/freeze/makefreeze.py index ac59a9c..3888050 100644 --- a/Tools/freeze/makefreeze.py +++ b/Tools/freeze/makefreeze.py @@ -18,9 +18,7 @@ trailer = """\ # if __debug__ == 0 (i.e. -O option given), set Py_OptimizeFlag in frozen app. default_entry_point = """ int -main(argc, argv) - int argc; - char **argv; +main(int argc, char **argv) { extern int Py_FrozenMain(int, char **); """ + ((not __debug__ and """ |