From: Bernd Kuhls Date: Sat, 25 Jun 2016 22:43:35 +0000 (+0200) Subject: package/x11r7/libxcb: force the use of python2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcfbff46ab6f125065e4e2a7b8b82cb1f5a8f762;p=buildroot.git package/x11r7/libxcb: force the use of python2 libxcb in its current state is not python3-compatible: https://bugs.freedesktop.org/show_bug.cgi?id=96395 Fixes http://autobuild.buildroot.net/results/c74/c74fa243bf319472dca66982323df6c2a983642b/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/x11r7/libxcb/libxcb.mk b/package/x11r7/libxcb/libxcb.mk index a740638eff..7f7823bf53 100644 --- a/package/x11r7/libxcb/libxcb.mk +++ b/package/x11r7/libxcb/libxcb.mk @@ -19,5 +19,9 @@ LIBXCB_DEPENDENCIES = \ LIBXCB_CONF_OPTS = --with-doxygen=no HOST_LIBXCB_CONF_OPTS = --with-doxygen=no +# libxcb is not python3 friendly, so force the python interpreter +HOST_LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2 +LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2 + $(eval $(autotools-package)) $(eval $(host-autotools-package))