Don't expect .ilk for static libraries.
Don't expect .ilk for static libraries.
1.1 --- a/ambuild2/frontend/cpp.py Sat Feb 01 17:15:39 2014 -0800
1.2 +++ b/ambuild2/frontend/cpp.py Sat Feb 01 17:20:08 2014 -0800
1.3 @@ -459,8 +459,9 @@
1.4 self.linker_outputs = [self.outputFile]
1.5 self.debug_entry = None
1.6
1.7 - if self.linker_.behavior == 'msvc' and '/INCREMENTAL:NO' not in self.argv:
1.8 - self.linker_outputs += [self.name_ + '.ilk']
1.9 + if self.linker_.behavior == 'msvc' and not isinstance(self, StaticLibrary):
1.10 + if '/INCREMENTAL:NO' not in self.argv:
1.11 + self.linker_outputs += [self.name_ + '.ilk']
1.12
1.13 if self.compiler.debuginfo:
1.14 self.perform_symbol_steps(cx)