This patch adds a CROSS_CYTHON_ENV declaration to the host-cython make rule file. Cython usually a host binary "cython", that's why it is a host tool. Besides cython there exist a way to use cython in the setup.py framework of python. Then we need to add to $(CROSS_PYTHON) an env to "add" a site-package search path to the $(PTXCONF_SYSROOT_HOST).
Signed-off-by: Alexander Aring <[email protected]> --- rules/host-cython.make | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/host-cython.make b/rules/host-cython.make index 212b12d..a12dfe4 100644 --- a/rules/host-cython.make +++ b/rules/host-cython.make @@ -25,6 +25,8 @@ HOST_CYTHON_SOURCE := $(SRCDIR)/$(HOST_CYTHON).$(HOST_CYTHON_SUFFIX) HOST_CYTHON_DIR := $(HOST_BUILDDIR)/$(HOST_CYTHON) HOST_CYTHON_LICENSE := APLv2 +CROSS_CYTHON_ENV := PYTHONUSERBASE=$(PTXCONF_SYSROOT_HOST) + # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -- 1.9.1 -- ptxdist mailing list [email protected]
