mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-45950: Fix macOS framework builds of _bootstrap_python (GH-29936)
This commit is contained in:
parent
98fac8bc18
commit
612e59b53f
4 changed files with 21 additions and 11 deletions
|
@ -754,7 +754,8 @@ library_to_dict(PyObject *dict, const char *key)
|
|||
if (PyWin_DLLhModule) {
|
||||
return winmodule_to_dict(dict, key, PyWin_DLLhModule);
|
||||
}
|
||||
#elif defined(WITH_NEXT_FRAMEWORK)
|
||||
#elif defined(WITH_NEXT_FRAMEWORK) && !defined(PY_BOOTSTRAP_PYTHON)
|
||||
// _bootstrap_python does not use framework and crashes
|
||||
static const char modPath[MAXPATHLEN + 1];
|
||||
static int modPathInitialized = -1;
|
||||
if (modPathInitialized < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue