@@ -730,7 +730,7 @@ calculate_exec_prefix(PyCalculatePath *calculate, _PyPathConfig *pathconfig,
730730 if (safe_wcscpy (exec_prefix , calculate -> exec_prefix , exec_prefix_len ) < 0 ) {
731731 return PATHLEN_ERR ();
732732 }
733- status = joinpath (exec_prefix , L"lib /lib-dynload" , exec_prefix_len );
733+ status = joinpath (exec_prefix , L"lib64 /lib-dynload" , exec_prefix_len );
734734 if (_PyStatus_EXCEPTION (status )) {
735735 return status ;
736736 }
@@ -1063,7 +1063,7 @@ calculate_zip_path(PyCalculatePath *calculate, const wchar_t *prefix,
10631063 return PATHLEN_ERR ();
10641064 }
10651065 }
1066- status = joinpath (zip_path , L"lib /python00.zip" , zip_path_len );
1066+ status = joinpath (zip_path , L"lib64 /python00.zip" , zip_path_len );
10671067 if (_PyStatus_EXCEPTION (status )) {
10681068 return status ;
10691069 }
@@ -1193,7 +1193,7 @@ calculate_init(PyCalculatePath *calculate, const PyConfig *config)
11931193 if (!calculate -> exec_prefix ) {
11941194 return DECODE_LOCALE_ERR ("EXEC_PREFIX define" , len );
11951195 }
1196- calculate -> lib_python = Py_DecodeLocale ("lib /python" VERSION , & len );
1196+ calculate -> lib_python = Py_DecodeLocale ("lib64 /python" VERSION , & len );
11971197 if (!calculate -> lib_python ) {
11981198 return DECODE_LOCALE_ERR ("EXEC_PREFIX define" , len );
11991199 }
0 commit comments