summaryrefslogtreecommitdiffstats
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-03-21 20:39:52 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2013-03-21 20:39:52 (GMT)
commit6d3d0fe0b2ebb3628167fb90a6ffd51c3b73046b (patch)
tree9f03bd9e07f9425fe8bb611334478d1c621878eb /Lib/sysconfig.py
parentd06b35c1b6ef9e49c455bb4e163ce056bf80d073 (diff)
parent1621d77fc8fb2385d26c7de39f55df60426ec6ec (diff)
downloadcpython-6d3d0fe0b2ebb3628167fb90a6ffd51c3b73046b.zip
cpython-6d3d0fe0b2ebb3628167fb90a6ffd51c3b73046b.tar.gz
cpython-6d3d0fe0b2ebb3628167fb90a6ffd51c3b73046b.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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index a98cc71..2095657 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -416,7 +416,7 @@ def _init_non_posix(vars):
vars['LIBDEST'] = get_path('stdlib')
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))