mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)
This commit is contained in:
parent
69091cb497
commit
85e102a2b0
6 changed files with 40 additions and 14 deletions
|
@ -161,9 +161,10 @@ class build_ext(Command):
|
|||
|
||||
# Put the Python "system" include dir at the end, so that
|
||||
# any local include dirs take precedence.
|
||||
self.include_dirs.append(py_include)
|
||||
self.include_dirs.extend(py_include.split(os.path.pathsep))
|
||||
if plat_py_include != py_include:
|
||||
self.include_dirs.append(plat_py_include)
|
||||
self.include_dirs.extend(
|
||||
plat_py_include.split(os.path.pathsep))
|
||||
|
||||
self.ensure_string_list('libraries')
|
||||
self.ensure_string_list('link_objects')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue