]> granicus.if.org Git - python/commitdiff
Shouldn't include the lib pragma when building python15.dll itself!
authorGuido van Rossum <guido@python.org>
Sat, 8 Aug 1998 18:25:43 +0000 (18:25 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 8 Aug 1998 18:25:43 +0000 (18:25 +0000)
PC/config.h

index 4de07eff9d6a4b740676f08856016176256fdf64..ceac9a093c4207a92f4eaecd91fa6d87ad9dd0aa 100644 (file)
@@ -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