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 <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-06-26 00:43:35 +02:00 committed by Thomas Petazzoni
parent ffa4078699
commit dcfbff46ab

View File

@ -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))