@@ -213,7 +213,6 @@ def link (self,
213213
214214 # generate the filenames for these files
215215 def_file = os .path .join (temp_dir , dll_name + ".def" )
216- exp_file = os .path .join (temp_dir , dll_name + ".exp" )
217216 lib_file = os .path .join (temp_dir , 'lib' + dll_name + ".a" )
218217
219218 # Generate .def file
@@ -229,16 +228,14 @@ def link (self,
229228
230229 # dllwrap uses different options than gcc/ld
231230 if self .linker_dll == "dllwrap" :
232- extra_preargs .extend ([#"--output-exp",exp_file,
233- "--output-lib" ,lib_file ,
234- ])
231+ extra_preargs .extend (["--output-lib" , lib_file ])
235232 # for dllwrap we have to use a special option
236233 extra_preargs .extend (["--def" , def_file ])
237234 # we use gcc/ld here and can be sure ld is >= 2.9.10
238235 else :
239236 # doesn't work: bfd_close build\...\libfoo.a: Invalid operation
240237 #extra_preargs.extend(["-Wl,--out-implib,%s" % lib_file])
241- # for gcc/ld the def-file is specified as any other object files
238+ # for gcc/ld the def-file is specified as any object files
242239 objects .append (def_file )
243240
244241 #end: if ((export_symbols is not None) and
0 commit comments