summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-03-12 15:16:38 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2013-03-13 16:26:10 +0100
commit3909015f5dd1cbd18de80f38cd1fe675b7c59b7e (patch)
tree74ebd26532e8f0a1289d692f230d8b44456d863e /configure.ac
parent44dc1e84631b3abe7f1e01618ab6a4ab6a6244a2 (diff)
fix system python check for cross-compiling
Change-Id: Icdf66eaed992e3b3e7c75c1082ac61c392c125d6
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 472b41be85e8..aef0ff3b1149 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7259,6 +7259,8 @@ AC_SUBST([MINGW_ZLIB_DLL])
# =====================================================================
# This allows a lack of system python with no error, we use internal one in that case.
AM_PATH_PYTHON([2.6],, [:])
+# Clean PYTHON_VERSION checked below if cross-compiling
+PYTHON_VERSION=""
if test "$PYTHON" != ":"; then
PYTHON_FOR_BUILD=$PYTHON
fi