diff options
author | Guido van Rossum <guido@python.org> | 1997-07-19 21:58:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-19 21:58:30 (GMT) |
commit | b3afce576362ee5004817f48827c6677b87079b6 (patch) | |
tree | 956ef795e7da21e44a500061772c146beeef2066 /Tools/freeze/makefreeze.py | |
parent | 019db5d73efb08a50f993d7c8100cce24c08b40b (diff) | |
download | cpython-b3afce576362ee5004817f48827c6677b87079b6.zip cpython-b3afce576362ee5004817f48827c6677b87079b6.tar.gz cpython-b3afce576362ee5004817f48827c6677b87079b6.tar.bz2 |
Updated for new style build/install; much simpler!
Diffstat (limited to 'Tools/freeze/makefreeze.py')
-rw-r--r-- | Tools/freeze/makefreeze.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Tools/freeze/makefreeze.py b/Tools/freeze/makefreeze.py index f660664..5c6f371 100644 --- a/Tools/freeze/makefreeze.py +++ b/Tools/freeze/makefreeze.py @@ -12,7 +12,15 @@ trailer = """\ {0, 0, 0} /* sentinel */ }; -struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules; +int +main(argc, argv) + int argc; + char **argv; +{ + PyImport_FrozenModules = _PyImport_FrozenModules; + return Py_FrozenMain(argc, argv); +} + """ def makefreeze(outfp, dict): |