mirror of
https://github.com/python/cpython
synced 2024-09-06 02:48:33 +00:00
bpo-45582: framework build: modPath must not be const (GH-29944)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
This commit is contained in:
parent
af1db4eb55
commit
f16f93e527
|
@ -756,7 +756,7 @@ library_to_dict(PyObject *dict, const char *key)
|
|||
}
|
||||
#elif defined(WITH_NEXT_FRAMEWORK) && !defined(PY_BOOTSTRAP_PYTHON)
|
||||
// _bootstrap_python does not use framework and crashes
|
||||
static const char modPath[MAXPATHLEN + 1];
|
||||
static char modPath[MAXPATHLEN + 1];
|
||||
static int modPathInitialized = -1;
|
||||
if (modPathInitialized < 0) {
|
||||
NSModule pythonModule;
|
||||
|
|
Loading…
Reference in a new issue