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:
Greg Ward 2000-08-05 00:58:14 +00:00
parent 1d8f57a5a4
commit ff7b562bc6

View file

@ -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