Call PyInitFrozenExtensions() as requested by Mark Hammond (his patch).
authorGuido van Rossum <guido@python.org>
Sat, 2 Jan 1999 21:42:48 +0000 (21:42 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 2 Jan 1999 21:42:48 +0000 (21:42 +0000)
Python/frozenmain.c

index cb46d65944acf09f37e19f3cc1281850ee335f8a..554f4da21736da81bc9292f3be474b97085b37e4 100644 (file)
@@ -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