From 9e72fcdb19f071e85560d2a9ce3a78a54b83ebac Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 6 Aug 2013 09:12:47 +0200 Subject: [PATCH] Cython: cross build support. --- srcpkgs/Cython/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/Cython/template b/srcpkgs/Cython/template index 4f6b49f9f41..7574e5a5cf4 100644 --- a/srcpkgs/Cython/template +++ b/srcpkgs/Cython/template @@ -11,6 +11,10 @@ license="Apache-2.0" distfiles="http://www.cython.org/release/${pkgname}-${version}.tar.gz" checksum=2c9f2c2af9aa0519588bf941c9961a59bb8f57ee7f798db878494d1a21c07ece +if [ "$CROSS_BUILD" ]; then + hostmakedepends="${makedepends}" +fi + Cython_package() { depends="Pyrex" pycompile_module="pyximport Cython cython.py"