mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-37649: Fix exec_prefix check (GH-14897)
This commit is contained in:
parent
fb6807b043
commit
09090d04ef
1 changed files with 1 additions and 1 deletions
|
|
@ -1142,7 +1142,7 @@ calculate_init(PyCalculatePath *calculate,
|
|||
return DECODE_LOCALE_ERR("PREFIX define", len);
|
||||
}
|
||||
calculate->exec_prefix = Py_DecodeLocale(EXEC_PREFIX, &len);
|
||||
if (!calculate->prefix) {
|
||||
if (!calculate->exec_prefix) {
|
||||
return DECODE_LOCALE_ERR("EXEC_PREFIX define", len);
|
||||
}
|
||||
calculate->lib_python = Py_DecodeLocale("lib/python" VERSION, &len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue