mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fixes distutils adding/expecting too many _d suffixes.
This commit is contained in:
parent
89fc3caedb
commit
09bd9ec9b3
2 changed files with 0 additions and 5 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue