diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-06-15 16:05:20 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-06-15 16:05:20 (GMT) |
commit | e41a19e71ad5ffa2968916f1d81e3323a4f71542 (patch) | |
tree | 7c6ca6a93bfc449ed288bedb22f8a7cf3b934815 /Lib/sysconfig.py | |
parent | cb532f13e3049d7ae76b7ea0bfe4fb4af0aebe7b (diff) | |
download | cpython-e41a19e71ad5ffa2968916f1d81e3323a4f71542.zip cpython-e41a19e71ad5ffa2968916f1d81e3323a4f71542.tar.gz cpython-e41a19e71ad5ffa2968916f1d81e3323a4f71542.tar.bz2 |
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).
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r-- | Lib/sysconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 731aed3..91298d1 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -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: |