Kaydet (Commit) ff7b562b authored tarafından Greg Ward's avatar Greg Ward

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.
üst 1d8f57a5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment