mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Call PyInitFrozenExtensions() as requested by Mark Hammond (his patch).
This commit is contained in:
parent
504b0bf066
commit
47ae028071
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
#ifdef MS_WIN32
|
#ifdef MS_WIN32
|
||||||
extern void PyWinFreeze_ExeInit();
|
extern void PyWinFreeze_ExeInit();
|
||||||
extern void PyWinFreeze_ExeTerm();
|
extern void PyWinFreeze_ExeTerm();
|
||||||
|
extern int PyInitFrozenExtensions();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
|
@ -72,6 +73,9 @@ Py_FrozenMain(argc, argv)
|
||||||
setbuf(stderr, (char *)NULL);
|
setbuf(stderr, (char *)NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MS_WIN32
|
||||||
|
PyInitFrozenExtensions();
|
||||||
|
#endif /* MS_WIN32 */
|
||||||
Py_SetProgramName(argv[0]);
|
Py_SetProgramName(argv[0]);
|
||||||
Py_Initialize();
|
Py_Initialize();
|
||||||
#ifdef MS_WIN32
|
#ifdef MS_WIN32
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue