mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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:
committed by
Richard Purdie
parent
1096a95897
commit
c65cf8ede2
@@ -20,7 +20,7 @@ index d140bfe..c7b68da 100644
|
|||||||
-AM_PATH_PYTHON([2.5])
|
-AM_PATH_PYTHON([2.5])
|
||||||
+pythondir="${libdir}/xcb-proto"
|
+pythondir="${libdir}/xcb-proto"
|
||||||
+AC_SUBST(pythondir)
|
+AC_SUBST(pythondir)
|
||||||
+PYTHON="python"
|
+PYTHON="python3"
|
||||||
+AC_SUBST(PYTHON)
|
+AC_SUBST(PYTHON)
|
||||||
|
|
||||||
xcbincludedir='${datadir}/xcb'
|
xcbincludedir='${datadir}/xcb'
|
||||||
|
|||||||
Reference in New Issue
Block a user