builder: auto cleanup xxx.def generated by tcc on windows (#7878)
							parent
							
								
									a94935aa08
								
							
						
					
					
						commit
						9d9ca0ab5e
					
				|  | @ -591,6 +591,12 @@ fn (mut v Builder) cc() { | |||
| 			v.pref.cleanup_files << v.out_name_c | ||||
| 			v.pref.cleanup_files << response_file | ||||
| 		} | ||||
| 		$if windows { | ||||
| 			if v.ccoptions.is_cc_tcc { | ||||
| 				def_name := v.pref.out_name[0..v.pref.out_name.len - 4] | ||||
| 				v.pref.cleanup_files << '${def_name}.def' | ||||
| 			} | ||||
| 		} | ||||
| 		//
 | ||||
| 		todo() | ||||
| 		os.chdir(vdir) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue