bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-8464)
This commit is contained in:
parent
89352b08aa
commit
3cc505e950
|
@ -252,11 +252,11 @@ class MSVCCompiler(CCompiler) :
|
|||
|
||||
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,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Ensure INCLUDE and LIB directories do not end with a backslash.
|
Loading…
Reference in New Issue