Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a87be1

Browse files
committed
Shouldn't include the lib pragma when building python15.dll itself!
1 parent 4443830 commit 1a87be1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PC/config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,14 @@ typedef int pid_t;
197197

198198
#ifdef MS_WIN32
199199

200+
#ifndef USE_DL_EXPORT
200201
/* So nobody needs to specify the .lib in their Makefile any more */
201202
#ifdef _DEBUG
202203
#pragma comment(lib,"python15_d.lib")
203204
#else
204205
#pragma comment(lib,"python15.lib")
205206
#endif
207+
#endif /* USE_DL_EXPORT */
206208

207209
#define SIZEOF_INT 4
208210
#define SIZEOF_LONG 4

0 commit comments

Comments
 (0)