diff options
author | doko@python.org <doko@python.org> | 2013-01-25 13:35:44 (GMT) |
---|---|---|
committer | doko@python.org <doko@python.org> | 2013-01-25 13:35:44 (GMT) |
commit | 981eec3ad4e6506adbae1a1ad163709b4457375d (patch) | |
tree | 359ab3ec03785c19f0a82477568787ddbccd3932 /configure.ac | |
parent | c8c6563097b3a05e372e1f1b1527135ecce69812 (diff) | |
parent | 9731330d6f4d63d6d57c8e99c8d11ef1def42858 (diff) | |
download | cpython-981eec3ad4e6506adbae1a1ad163709b4457375d.zip cpython-981eec3ad4e6506adbae1a1ad163709b4457375d.tar.gz cpython-981eec3ad4e6506adbae1a1ad163709b4457375d.tar.bz2 |
- Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9379c04..1f520c2 100644 --- a/configure.ac +++ b/configure.ac @@ -65,7 +65,7 @@ if test "$cross_compiling" = yes; then AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found]) fi AC_MSG_RESULT($interp) - PYTHON_FOR_BUILD="_PYTHON_PROJECT_BASE=$srcdir"' _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(srcdir)/Lib:$(srcdir)/Lib/plat-$(MACHDEP) '$interp + PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/plat-$(MACHDEP) '$interp fi elif test "$cross_compiling" = maybe; then AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH]) |