From: Grzegorz Blach Date: Thu, 30 Aug 2018 10:18:47 +0000 (+0200) Subject: python-falcon: add optional dependency on host-python-cython X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=763c2db314fa3a5a486055ad15cb506859e4e955;p=buildroot.git python-falcon: add optional dependency on host-python-cython Falcon can be compiled into shared objects using Cython. Compiled version works much faster than pure-python one. Signed-off-by: Grzegorz Blach Signed-off-by: Thomas Petazzoni --- diff --git a/package/python-falcon/python-falcon.mk b/package/python-falcon/python-falcon.mk index 106387f96f..b724ffadbe 100644 --- a/package/python-falcon/python-falcon.mk +++ b/package/python-falcon/python-falcon.mk @@ -11,4 +11,8 @@ PYTHON_FALCON_SETUP_TYPE = setuptools PYTHON_FALCON_LICENSE = Apache-2.0 PYTHON_FALCON_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_HOST_PYTHON_CYTHON),y) +PYTHON_FALCON_DEPENDENCIES += host-python-cython +endif + $(eval $(python-package))