Updated for new style build/install; much simpler!

This commit is contained in:
Guido van Rossum 1997-07-19 21:58:30 +00:00
parent 019db5d73e
commit b3afce5763
2 changed files with 14 additions and 11 deletions

View file

@ -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):