summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-08-05 00:58:14 (GMT)
committerGreg Ward <gward@python.net>2000-08-05 00:58:14 (GMT)
commitff7b562bc67e299be96909ea98abd621416b169b (patch)
tree679eaafb8a2b12dc0d95cc36aff131ca27868757 /PC
parent1d8f57a5a452b323cbe57e5c6c8c557431a6d3fd (diff)
downloadcpython-ff7b562bc67e299be96909ea98abd621416b169b.zip
cpython-ff7b562bc67e299be96909ea98abd621416b169b.tar.gz
cpython-ff7b562bc67e299be96909ea98abd621416b169b.tar.bz2
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.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/PC/config.h b/PC/config.h
index f057a75..9b68373 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -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