Author vstinner
Recipients da-woods, dstufft, eric.araujo, miss-islington, ned.deily, petr.viktorin, scoder, steve.dower, vstinner
Date 2020-02-05.16:57:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580921838.54.0.147808607355.issue39432@roundup.psfhosted.org>
In-reply-to
Content
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'
(...)
History
Date User Action Args
2020-02-05 16:57:18vstinnersetrecipients: + vstinner, scoder, ned.deily, eric.araujo, petr.viktorin, steve.dower, dstufft, miss-islington, da-woods
2020-02-05 16:57:18vstinnersetmessageid: <1580921838.54.0.147808607355.issue39432@roundup.psfhosted.org>
2020-02-05 16:57:18vstinnerlinkissue39432 messages
2020-02-05 16:57:18vstinnercreate