From f1d3472d8dec088e2186e83991cb9f34fdca0138 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 14 Jul 2015 16:03:39 +0200 Subject: [PATCH] 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 --- package/qpid-proton/qpid-proton.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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-*/ -- 2.30.2