]> code.ossystems Code Review - openembedded-core.git/commitdiff
xcb-proto: use python3 instead of python2
authorRoss Burton <ross.burton@intel.com>
Fri, 17 Jun 2016 12:13:33 +0000 (13:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2016 13:19:09 +0000 (14:19 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-proto/xcb-proto/no-python-native.patch

index f808e1963bdc1c0a653194d09c0de80be95348dc..09b6088db0a106fbe6afed220e70b79640ea930d 100644 (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'