From: Yann E. MORIN Date: Tue, 14 Jul 2015 14:03:39 +0000 (+0200) Subject: package/qpid-proton: needs host-python2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1d3472d8dec088e2186e83991cb9f34fdca0138;p=buildroot.git package/qpid-proton: needs host-python2 qpid-proton is using constructs that are not valid in python3, so we must use a host python2 interpreter. To make this happen this commit adds a dependency on host-python and explicitly tells CMake to use $(HOST_DIR)/usr/bin/python2. Signed-off-by: "Yann E. MORIN" Cc: Baruch Siach Cc: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/package/qpid-proton/qpid-proton.mk b/package/qpid-proton/qpid-proton.mk index eae4589bf5..12fddb42e9 100644 --- a/package/qpid-proton/qpid-proton.mk +++ b/package/qpid-proton/qpid-proton.mk @@ -11,12 +11,15 @@ QPID_PROTON_LICENSE = Apache-2.0 QPID_PROTON_LICENSE_FILES = LICENSE QPID_PROTON_INSTALL_STAGING = YES QPID_PROTON_DEPENDENCIES = \ + host-python \ util-linux \ $(if $(BR2_PACKAGE_OPENSSL),openssl) + QPID_PROTON_CONF_OPTS = \ -DBUILD_JAVA=OFF \ -DENABLE_VALGRIND=OFF \ - -DENABLE_WARNING_ERROR=OFF + -DENABLE_WARNING_ERROR=OFF \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/usr/bin/python2 define QPID_PROTON_REMOVE_USELESS_FILES rm -fr $(TARGET_DIR)/usr/share/proton-*/