aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-03-21 13:21:49 -0700
committerdoko@ubuntu.com <doko@ubuntu.com>2013-03-21 13:21:49 -0700
commitd5537d071cc2acada7220431a0eea5931c2e8a2d (patch)
treeeba2ec8207b84f178068d4f86942e962113d7689 /Lib/sysconfig.py
parent#5712: Preemptively fix some other possible timing issues. (diff)
downloadcpython-d5537d071cc2acada7220431a0eea5931c2e8a2d.tar.gz
cpython-d5537d071cc2acada7220431a0eea5931c2e8a2d.tar.bz2
cpython-d5537d071cc2acada7220431a0eea5931c2e8a2d.zip
- 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 253e2efae61..5b3a994af9d 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))