From 446f033e232bef22e7980dbd210a5f284c1a46f5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 7 Aug 1998 15:32:00 +0000 Subject: [PATCH] For Win32, added pragmas specifying the python15[_d].lib library. --- PC/config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PC/config.h b/PC/config.h index 68e9c5adfad..4de07eff9d6 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