diff options
author | doko <doko@ubuntu.com> | 2013-03-21 13:31:41 -0700 |
---|---|---|
committer | doko <doko@ubuntu.com> | 2013-03-21 13:31:41 -0700 |
commit | 631f584c24d259829ee1f48299d328ae3ef490ad (patch) | |
tree | 7ca2865c87a0e3760ccff8128552e8c7df375e20 /Lib/sysconfig.py | |
parent | c0b12341eacce61b7cfe358a988dd5671bef9474 (diff) | |
parent | f15ac6262b063528d4d140021b8bbfe3a1100a81 (diff) | |
download | cpython-631f584c24d259829ee1f48299d328ae3ef490ad.tar.gz |
- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r-- | Lib/sysconfig.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 71da1db183..2f5f7404ff 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -437,6 +437,7 @@ def _init_non_posix(vars): vars['BINLIBDEST'] = get_path('platstdlib') vars['INCLUDEPY'] = get_path('include') vars['SO'] = '.pyd' + vars['EXT_SUFFIX'] = '.pyd' vars['EXE'] = '.exe' vars['VERSION'] = _PY_VERSION_SHORT_NO_DOT vars['BINDIR'] = os.path.dirname(_safe_realpath(sys.executable)) |