Fix not linking libbreakpad_client.a on rebuild.
This commit is contained in:
		
							parent
							
								
									fd91ed3fec
								
							
						
					
					
						commit
						b24de4743c
					
				| @ -85,6 +85,7 @@ class SM: | ||||
| 				self.compiler.AddToListVar('CFLAGS', '-g3') | ||||
| 				self.compiler.AddToListVar('CFLAGS', '-m32') | ||||
| 				self.compiler.AddToListVar('POSTLINKFLAGS', '-m32') | ||||
| 				self.compiler.AddToListVar('POSTLINKFLAGS', '-Wl,-z,defs') | ||||
| 				self.compiler.AddToListVar('CXXFLAGS', '-fno-exceptions') | ||||
| 				self.compiler.AddToListVar('CXXFLAGS', '-fno-threadsafe-statics') | ||||
| 				self.compiler.AddToListVar('CXXFLAGS', '-Wno-non-virtual-dtor') | ||||
|  | ||||
| @ -66,7 +66,7 @@ def BuildExtension(): | ||||
| 			os.lstat(link) | ||||
| 		except: | ||||
| 			extension.AddCommand(SymlinkCommand(link, target)) | ||||
| 			binary.AddObjectFiles(['libbreakpad_client.a']) | ||||
| 		binary.AddObjectFiles(['libbreakpad_client.a']) | ||||
| 
 | ||||
| 	elif AMBuild.target['platform'] in ['windows']: | ||||
| 		libs = ['exception_handler', 'common', 'crash_generation_client'] | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user