mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix for issue #8577: without this patch test_distutils
will fail when builddir != srcdir (that is, when you run configure in a directory that is not the top of the source tree).
This commit is contained in:
parent
cb532f13e3
commit
e41a19e71a
2 changed files with 5 additions and 4 deletions
|
@ -123,8 +123,8 @@ _PYTHON_BUILD = is_python_build()
|
|||
|
||||
if _PYTHON_BUILD:
|
||||
for scheme in ('posix_prefix', 'posix_home'):
|
||||
_INSTALL_SCHEMES[scheme]['include'] = '{projectbase}/Include'
|
||||
_INSTALL_SCHEMES[scheme]['platinclude'] = '{srcdir}'
|
||||
_INSTALL_SCHEMES[scheme]['include'] = '{srcdir}/Include'
|
||||
_INSTALL_SCHEMES[scheme]['platinclude'] = '{projectbase}/.'
|
||||
|
||||
def _subst_vars(s, local_vars):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue