xcb-proto: use python3 instead of python2

We previously patched configure to stop looking around for a Python to use, and
to use the Python binary and install paths that we specify.  Now that we depend
on Python 3 its possible that bitbake is being built on a machine without Python
2 installed, so hardcode the python3 interpreter instead.

(From OE-Core rev: bb5a43f049c1a7cffb5516b1c3d0264dea68ea3f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2016-06-17 13:13:33 +01:00 committed by Richard Purdie
parent 1096a95897
commit c65cf8ede2
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ index d140bfe..c7b68da 100644
-AM_PATH_PYTHON([2.5])
+pythondir="${libdir}/xcb-proto"
+AC_SUBST(pythondir)
+PYTHON="python"
+PYTHON="python3"
+AC_SUBST(PYTHON)
xcbincludedir='${datadir}/xcb'