summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-08 18:25:43 +0000
committerGuido van Rossum <guido@python.org>1998-08-08 18:25:43 +0000
commit52c3faaa5527859407b3d2d13142f1fd99c2d256 (patch)
treec74c29e4144dd4b7d612c71e90774c3cf17c621e /PC
parentf313003889d29e5e2d8c4926953ad5c98781db44 (diff)
downloadcpython-52c3faaa5527859407b3d2d13142f1fd99c2d256.tar.gz
Shouldn't include the lib pragma when building python15.dll itself!
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index 4de07eff9d..ceac9a093c 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -197,12 +197,14 @@ typedef int pid_t;
#ifdef MS_WIN32
+#ifndef USE_DL_EXPORT
/* So nobody needs to specify the .lib in their Makefile any more */
#ifdef _DEBUG
#pragma comment(lib,"python15_d.lib")
#else
#pragma comment(lib,"python15.lib")
#endif
+#endif /* USE_DL_EXPORT */
#define SIZEOF_INT 4
#define SIZEOF_LONG 4