From 7b9f1379503879bbf5223f6738de46ed0b73b548 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 17 Jun 2013 08:59:25 +0200 Subject: [PATCH] cross-i686-linux-musl: try to fix cross build. --- srcpkgs/cross-i686-linux-musl/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cross-i686-linux-musl/template b/srcpkgs/cross-i686-linux-musl/template index bbefb4bbedc..3ec3d9561bd 100644 --- a/srcpkgs/cross-i686-linux-musl/template +++ b/srcpkgs/cross-i686-linux-musl/template @@ -35,7 +35,11 @@ checksum=" 71fc00733a3ee45fab342870ccd84d33d079e64f2d6fdcfb8b463a769c3ff391" create_wrksrc=yes -makedepends="perl flex" +hostmakedepends="perl flex" + +if [ "$CROSS_BUILD" ]; then + makedepends="libfl-devel" +fi _CROSS_TARGET=${_triplet} _CROSS_SYSROOT="/usr/${_CROSS_TARGET}"