Message361437
On Windows, names get a "_d" suffix for debug. Extract of build_ext.py:
def get_libraries(self, ext):
"""Return the list of libraries to link against when building a
shared extension. On most platforms, this is just 'ext.libraries';
on Windows, we add the Python library (eg. python20.dll).
"""
# The python library is always needed on Windows. For MSVC, this
# is redundant, since the library is mentioned in a pragma in
# pyconfig.h that MSVC groks. The other Windows compilers all seem
# to need it mentioned explicitly, though, so that's what we do.
# Append '_d' to the python import library on debug builds.
if sys.platform == "win32":
from distutils._msvccompiler import MSVCCompiler
if not isinstance(self.compiler, MSVCCompiler):
template = "python%d%d"
if self.debug:
template = template + '_d'
(...) |
|
Date |
User |
Action |
Args |
2020-02-05 16:57:18 | vstinner | set | recipients:
+ vstinner, scoder, ned.deily, eric.araujo, petr.viktorin, steve.dower, dstufft, miss-islington, da-woods |
2020-02-05 16:57:18 | vstinner | set | messageid: <1580921838.54.0.147808607355.issue39432@roundup.psfhosted.org> |
2020-02-05 16:57:18 | vstinner | link | issue39432 messages |
2020-02-05 16:57:18 | vstinner | create | |
|