From: Guido van Rossum Date: Fri, 7 Aug 1998 15:32:00 +0000 (+0000) Subject: For Win32, added pragmas specifying the python15[_d].lib library. X-Git-Tag: v1.5.2a1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=446f033e232bef22e7980dbd210a5f284c1a46f5;p=thirdparty%2FPython%2Fcpython.git For Win32, added pragmas specifying the python15[_d].lib library. --- diff --git a/PC/config.h b/PC/config.h index 68e9c5adfad2..4de07eff9d6a 100644 --- a/PC/config.h +++ b/PC/config.h @@ -197,6 +197,13 @@ typedef int pid_t; #ifdef MS_WIN32 +/* 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 + #define SIZEOF_INT 4 #define SIZEOF_LONG 4