Skip to content

Commit f16f93e

Browse files
bpo-45582: framework build: modPath must not be const (GH-29944)
Co-authored-by: Ronald Oussoren <[email protected]>
1 parent af1db4e commit f16f93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/getpath.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ library_to_dict(PyObject *dict, const char *key)
756756
}
757757
#elif defined(WITH_NEXT_FRAMEWORK) && !defined(PY_BOOTSTRAP_PYTHON)
758758
// _bootstrap_python does not use framework and crashes
759-
static const char modPath[MAXPATHLEN + 1];
759+
static char modPath[MAXPATHLEN + 1];
760760
static int modPathInitialized = -1;
761761
if (modPathInitialized < 0) {
762762
NSModule pythonModule;

0 commit comments

Comments
 (0)