mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
- Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the platform specifc _sysconfigdata module into the platform directory and rename it to include the ABIFLAGS.
This commit is contained in:
parent
c09087680e
commit
5553231b91
8 changed files with 117 additions and 14 deletions
|
@ -1693,6 +1693,16 @@ make_impl_info(PyObject *version_info)
|
|||
if (res < 0)
|
||||
goto error;
|
||||
|
||||
#ifdef MULTIARCH
|
||||
value = PyUnicode_FromString(MULTIARCH);
|
||||
if (value == NULL)
|
||||
goto error;
|
||||
res = PyDict_SetItemString(impl_info, "_multiarch", value);
|
||||
Py_DECREF(value);
|
||||
if (res < 0)
|
||||
goto error;
|
||||
#endif
|
||||
|
||||
/* dict ready */
|
||||
|
||||
ns = _PyNamespace_New(impl_info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue