summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authordoko <doko@ubuntu.com>2016-06-14 08:55:19 +0200
committerdoko <doko@ubuntu.com>2016-06-14 08:55:19 +0200
commit008c426d4a560e63e9a5c56491de91c72417c68b (patch)
treedd133a1308c1e247460d89207939c1b6ed8cdf25 /Python/sysmodule.c
parentdcde152c52a58fe291fea7424bf910e1b2a06955 (diff)
downloadcpython-008c426d4a560e63e9a5c56491de91c72417c68b.tar.gz
- 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.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index b5199125a5..56175d9544 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -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);