summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-06-17 13:13:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-23 14:26:14 +0100
commitc65cf8ede2116ef1fa3ddeb617e7c39caacff941 (patch)
tree1e4d6955f25719197f54131bd2d240c78f0728fc
parent1096a95897554afe96c6e5acba3f09df4a1ab45a (diff)
downloadpoky-c65cf8ede2116ef1fa3ddeb617e7c39caacff941.tar.gz
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>
-rw-r--r--meta/recipes-graphics/xorg-proto/xcb-proto/no-python-native.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto/no-python-native.patch b/meta/recipes-graphics/xorg-proto/xcb-proto/no-python-native.patch
index f808e1963b..09b6088db0 100644
--- a/meta/recipes-graphics/xorg-proto/xcb-proto/no-python-native.patch
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto/no-python-native.patch
@@ -20,7 +20,7 @@ index d140bfe..c7b68da 100644
20-AM_PATH_PYTHON([2.5]) 20-AM_PATH_PYTHON([2.5])
21+pythondir="${libdir}/xcb-proto" 21+pythondir="${libdir}/xcb-proto"
22+AC_SUBST(pythondir) 22+AC_SUBST(pythondir)
23+PYTHON="python" 23+PYTHON="python3"
24+AC_SUBST(PYTHON) 24+AC_SUBST(PYTHON)
25 25
26 xcbincludedir='${datadir}/xcb' 26 xcbincludedir='${datadir}/xcb'