diff options
author | doko <doko@ubuntu.com> | 2016-06-14 08:55:19 +0200 |
---|---|---|
committer | doko <doko@ubuntu.com> | 2016-06-14 08:55:19 +0200 |
commit | 008c426d4a560e63e9a5c56491de91c72417c68b (patch) | |
tree | dd133a1308c1e247460d89207939c1b6ed8cdf25 /Python/sysmodule.c | |
parent | dcde152c52a58fe291fea7424bf910e1b2a06955 (diff) | |
download | cpython-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.c | 10 |
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); |