diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2013-03-21 20:21:49 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2013-03-21 20:21:49 (GMT) |
commit | d5537d071cc2acada7220431a0eea5931c2e8a2d (patch) | |
tree | eba2ec8207b84f178068d4f86942e962113d7689 /Lib/sysconfig.py | |
parent | 03b0116c781f8b2b530c2452d25d9a372c8f3635 (diff) | |
download | cpython-d5537d071cc2acada7220431a0eea5931c2e8a2d.zip cpython-d5537d071cc2acada7220431a0eea5931c2e8a2d.tar.gz cpython-d5537d071cc2acada7220431a0eea5931c2e8a2d.tar.bz2 |
- 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 253e2ef..5b3a994 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -360,6 +360,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)) |