mirror of
https://github.com/python/cpython.git
synced 2026-04-25 21:30:45 +00:00
bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-8464)
This commit is contained in:
parent
89352b08aa
commit
3cc505e950
2 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Ensure INCLUDE and LIB directories do not end with a backslash.
|
||||
Loading…
Add table
Add a link
Reference in a new issue