diff options
author | doko@python.org <doko@python.org> | 2013-01-25 13:33:33 (GMT) |
---|---|---|
committer | doko@python.org <doko@python.org> | 2013-01-25 13:33:33 (GMT) |
commit | 9731330d6f4d63d6d57c8e99c8d11ef1def42858 (patch) | |
tree | 1ed8606901ef598959dc27593b4fb10e1d14c60c /configure.ac | |
parent | 0c77bf757f94945b9e11a3d1f44ee47466866fd0 (diff) | |
download | cpython-9731330d6f4d63d6d57c8e99c8d11ef1def42858.zip cpython-9731330d6f4d63d6d57c8e99c8d11ef1def42858.tar.gz cpython-9731330d6f4d63d6d57c8e99c8d11ef1def42858.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 71bf871c..fc8a68c 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]) |