mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Pragmas that instruct the linker to link against python20.lib (or
python20_d.lib) only active on MSVC++; different library formats needed for different compilers, and it's handled by the Distutils anyways.
This commit is contained in:
parent
1d8f57a5a4
commit
ff7b562bc6
1 changed files with 4 additions and 2 deletions
|
@ -287,8 +287,10 @@ typedef long intptr_t;
|
|||
|
||||
#ifdef MS_WIN32
|
||||
|
||||
#ifndef USE_DL_EXPORT
|
||||
/* So nobody needs to specify the .lib in their Makefile any more */
|
||||
#if !defined(USE_DL_EXPORT) && defined(_MSC_VER)
|
||||
/* So nobody using MSVC needs to specify the .lib in their Makefile any
|
||||
more (other compilers will still need to do so, but that's taken care
|
||||
of by the Distutils, so it's not a problem). */
|
||||
#ifdef _DEBUG
|
||||
#pragma comment(lib,"python20_d.lib")
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue