Commit 2f6a9739 authored by Thomas Heller's avatar Thomas Heller

Avoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug

info will always be in a .pdb file.
parent 9a9b8269
......@@ -237,6 +237,11 @@ class MSVCCompiler (CCompiler) :
'/Z7', '/D_DEBUG']
self.ldflags_shared = ['/DLL', '/nologo', '/INCREMENTAL:NO']
if self.__version >= 7:
self.ldflags_shared_debug = [
'/DLL', '/nologo', '/INCREMENTAL:no', '/DEBUG'
]
else:
self.ldflags_shared_debug = [
'/DLL', '/nologo', '/INCREMENTAL:no', '/pdb:None', '/DEBUG'
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment