Skip to content

Commit

Permalink
⚫ Fade to black.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 9, 2022
1 parent d1e3b46 commit 7d9c9d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions distutils/_msvccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,7 @@ def initialize(self, plat_name=None):
]

self.__library_dirs = [
dir.rstrip(os.sep)
for dir in vc_env.get('lib', '').split(os.pathsep)
if dir
dir.rstrip(os.sep) for dir in vc_env.get('lib', '').split(os.pathsep) if dir
]

self.preprocess_options = None
Expand Down Expand Up @@ -572,7 +570,9 @@ def _fix_compile_args(self, output_dir, macros, include_dirs):

def _fix_lib_args(self, libraries, library_dirs, runtime_library_dirs):
"""Corrects arguments to the link_*() methods and add linker-specific dirs"""
fixed_args = super()._fix_lib_args(libraries, library_dirs, runtime_library_dirs)
fixed_args = super()._fix_lib_args(
libraries, library_dirs, runtime_library_dirs
)
return (
fixed_args[0], # libraries
fixed_args[1] + self.__library_dirs,
Expand Down

0 comments on commit 7d9c9d4

Please sign in to comment.