@@ -731,6 +731,7 @@ PyConfig_Clear(PyConfig *config)
731
731
CLEAR (config -> base_prefix );
732
732
CLEAR (config -> exec_prefix );
733
733
CLEAR (config -> base_exec_prefix );
734
+ CLEAR (config -> build_prefix );
734
735
CLEAR (config -> platlibdir );
735
736
736
737
CLEAR (config -> filesystem_encoding );
@@ -985,6 +986,7 @@ _PyConfig_Copy(PyConfig *config, const PyConfig *config2)
985
986
COPY_WSTR_ATTR (base_prefix );
986
987
COPY_WSTR_ATTR (exec_prefix );
987
988
COPY_WSTR_ATTR (base_exec_prefix );
989
+ COPY_WSTR_ATTR (build_prefix );
988
990
COPY_WSTR_ATTR (platlibdir );
989
991
990
992
COPY_ATTR (site_import );
@@ -1094,6 +1096,7 @@ _PyConfig_AsDict(const PyConfig *config)
1094
1096
SET_ITEM_WSTR (base_prefix );
1095
1097
SET_ITEM_WSTR (exec_prefix );
1096
1098
SET_ITEM_WSTR (base_exec_prefix );
1099
+ SET_ITEM_WSTR (build_prefix );
1097
1100
SET_ITEM_WSTR (platlibdir );
1098
1101
SET_ITEM_INT (site_import );
1099
1102
SET_ITEM_INT (bytes_warning );
@@ -1407,6 +1410,7 @@ _PyConfig_FromDict(PyConfig *config, PyObject *dict)
1407
1410
GET_WSTR_OPT (base_prefix );
1408
1411
GET_WSTR_OPT (exec_prefix );
1409
1412
GET_WSTR_OPT (base_exec_prefix );
1413
+ GET_WSTR_OPT (build_prefix );
1410
1414
1411
1415
GET_UINT (skip_source_first_line );
1412
1416
GET_WSTR_OPT (run_command );
@@ -3172,6 +3176,7 @@ _Py_DumpPathConfig(PyThreadState *tstate)
3172
3176
DUMP_SYS (_base_executable );
3173
3177
DUMP_SYS (base_prefix );
3174
3178
DUMP_SYS (base_exec_prefix );
3179
+ DUMP_SYS (build_prefix );
3175
3180
DUMP_SYS (platlibdir );
3176
3181
DUMP_SYS (executable );
3177
3182
DUMP_SYS (prefix );
0 commit comments