We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7f91f commit de5c953Copy full SHA for de5c953
1 file changed
Lib/distutils/command/build_ext.py
@@ -342,13 +342,11 @@ def build_extensions (self):
342
# which cannot be suppressed by any linker switches. So
343
# make sure they are generated in the temporary build
344
# directory.
345
- implib_dir = os.path.join(self.build_temp,\
346
- self.get_ext_libname(extension_name))
347
- extra_args.append ('/IMPLIB:' + implib_dir)
348
-
349
- # XXX arg, which of these is correct?
350
- self.mkpath(implib_dir)
351
- self.mkpath(os.path.dirname(implib_dir))
+ implib_file = os.path.join (
+ self.build_temp,
+ self.get_ext_libname (extension_name))
+ extra_args.append ('/IMPLIB:' + implib_file)
+ self.mkpath (os.path.dirname (implib_file))
352
# if MSVC
353
354
fullname = self.get_ext_fullname (extension_name)
0 commit comments