diff options
author | Guido van Rossum <guido@python.org> | 1999-01-02 21:42:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-02 21:42:48 (GMT) |
commit | 47ae028071d49f81e776fbc425f13917c77f5b58 (patch) | |
tree | 7585b042af91fcbfe189806eab8fd17ba6e0977f | |
parent | 504b0bf066e4fddb21646331e89c2f6836c5c638 (diff) | |
download | cpython-47ae028071d49f81e776fbc425f13917c77f5b58.zip cpython-47ae028071d49f81e776fbc425f13917c77f5b58.tar.gz cpython-47ae028071d49f81e776fbc425f13917c77f5b58.tar.bz2 |
Call PyInitFrozenExtensions() as requested by Mark Hammond (his patch).
-rw-r--r-- | Python/frozenmain.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index cb46d65..554f4da 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -36,6 +36,7 @@ PERFORMANCE OF THIS SOFTWARE. #ifdef MS_WIN32 extern void PyWinFreeze_ExeInit(); extern void PyWinFreeze_ExeTerm(); +extern int PyInitFrozenExtensions(); #endif #ifdef HAVE_UNISTD_H @@ -72,6 +73,9 @@ Py_FrozenMain(argc, argv) setbuf(stderr, (char *)NULL); } +#ifdef MS_WIN32 + PyInitFrozenExtensions(); +#endif /* MS_WIN32 */ Py_SetProgramName(argv[0]); Py_Initialize(); #ifdef MS_WIN32 |