summaryrefslogtreecommitdiffstats
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-03-21 20:31:41 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2013-03-21 20:31:41 (GMT)
commit1621d77fc8fb2385d26c7de39f55df60426ec6ec (patch)
tree0a31742c8b8aed6453b95f92a77f50f66d5085cd /Lib/sysconfig.py
parentbd2d30cf31c61843645a96a377aa0573052c4972 (diff)
parentd5537d071cc2acada7220431a0eea5931c2e8a2d (diff)
downloadcpython-1621d77fc8fb2385d26c7de39f55df60426ec6ec.zip
cpython-1621d77fc8fb2385d26c7de39f55df60426ec6ec.tar.gz
cpython-1621d77fc8fb2385d26c7de39f55df60426ec6ec.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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 71da1db..2f5f740 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))