bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash by zooba · Pull Request #8464 · python/cpython

Expand Up @@ -252,11 +252,11 @@ def initialize(self, plat_name=None):
for dir in vc_env.get('include', '').split(os.pathsep): if dir: self.add_include_dir(dir) self.add_include_dir(dir.rstrip(os.sep))
for dir in vc_env.get('lib', '').split(os.pathsep): if dir: self.add_library_dir(dir) self.add_library_dir(dir.rstrip(os.sep))
self.preprocess_options = None # If vcruntime_redist is available, link against it dynamically. Otherwise, Expand Down