@@ -731,6 +731,7 @@ PyConfig_Clear(PyConfig *config)
731731 CLEAR (config -> base_prefix );
732732 CLEAR (config -> exec_prefix );
733733 CLEAR (config -> base_exec_prefix );
734+ CLEAR (config -> build_prefix );
734735 CLEAR (config -> platlibdir );
735736
736737 CLEAR (config -> filesystem_encoding );
@@ -985,6 +986,7 @@ _PyConfig_Copy(PyConfig *config, const PyConfig *config2)
985986 COPY_WSTR_ATTR (base_prefix );
986987 COPY_WSTR_ATTR (exec_prefix );
987988 COPY_WSTR_ATTR (base_exec_prefix );
989+ COPY_WSTR_ATTR (build_prefix );
988990 COPY_WSTR_ATTR (platlibdir );
989991
990992 COPY_ATTR (site_import );
@@ -1094,6 +1096,7 @@ _PyConfig_AsDict(const PyConfig *config)
10941096 SET_ITEM_WSTR (base_prefix );
10951097 SET_ITEM_WSTR (exec_prefix );
10961098 SET_ITEM_WSTR (base_exec_prefix );
1099+ SET_ITEM_WSTR (build_prefix );
10971100 SET_ITEM_WSTR (platlibdir );
10981101 SET_ITEM_INT (site_import );
10991102 SET_ITEM_INT (bytes_warning );
@@ -1407,6 +1410,7 @@ _PyConfig_FromDict(PyConfig *config, PyObject *dict)
14071410 GET_WSTR_OPT (base_prefix );
14081411 GET_WSTR_OPT (exec_prefix );
14091412 GET_WSTR_OPT (base_exec_prefix );
1413+ GET_WSTR_OPT (build_prefix );
14101414
14111415 GET_UINT (skip_source_first_line );
14121416 GET_WSTR_OPT (run_command );
@@ -3172,6 +3176,7 @@ _Py_DumpPathConfig(PyThreadState *tstate)
31723176 DUMP_SYS (_base_executable );
31733177 DUMP_SYS (base_prefix );
31743178 DUMP_SYS (base_exec_prefix );
3179+ DUMP_SYS (build_prefix );
31753180 DUMP_SYS (platlibdir );
31763181 DUMP_SYS (executable );
31773182 DUMP_SYS (prefix );
0 commit comments