diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2016-06-14 06:55:19 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2016-06-14 06:55:19 (GMT) |
commit | 5553231b91e05cf93827b33a79aebe62c4370a09 (patch) | |
tree | 954bd7ebb02bc705d1df336f616aedea979ea1b3 /Lib/distutils | |
parent | c09087680eb908406d7331323e92a657182c7b89 (diff) | |
download | cpython-5553231b91e05cf93827b33a79aebe62c4370a09.zip cpython-5553231b91e05cf93827b33a79aebe62c4370a09.tar.gz cpython-5553231b91e05cf93827b33a79aebe62c4370a09.tar.bz2 |
- 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 'Lib/distutils')
-rw-r--r-- | Lib/distutils/sysconfig.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index f205dca..e9cc4a9 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -242,6 +242,8 @@ def get_makefile_filename(): return os.path.join(_sys_home or project_base, "Makefile") lib_dir = get_python_lib(plat_specific=0, standard_lib=1) config_file = 'config-{}{}'.format(get_python_version(), build_flags) + if hasattr(sys.implementation, '_multiarch'): + config_file += '-%s' % sys.implementation._multiarch return os.path.join(lib_dir, config_file, 'Makefile') |