summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2014-12-16 04:45:23 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2014-12-16 04:45:23 (GMT)
commit09bd9ec9b3c563915b6428459032de6cda6c1336 (patch)
tree6d6cea9df4178ef34de0c3ffd39b9ee33f3b7c86 /Lib/distutils/command
parent89fc3caedb81dcca51c996c36ae8c6060d2f4e8f (diff)
downloadcpython-09bd9ec9b3c563915b6428459032de6cda6c1336.zip
cpython-09bd9ec9b3c563915b6428459032de6cda6c1336.tar.gz
cpython-09bd9ec9b3c563915b6428459032de6cda6c1336.tar.bz2
Fixes distutils adding/expecting too many _d suffixes.
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/build_ext.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 605efbd..c5a3ce1 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -691,10 +691,7 @@ class build_ext(Command):
"""
from distutils.sysconfig import get_config_var
ext_path = ext_name.split('.')
- # extensions in debug_mode are named 'module_d.pyd' under windows
ext_suffix = get_config_var('EXT_SUFFIX')
- if os.name == 'nt' and self.debug:
- return os.path.join(*ext_path) + '_d' + ext_suffix
return os.path.join(*ext_path) + ext_suffix
def get_export_symbols(self, ext):