From a3082f9c94e78e05050304d6cebc6287eababaf9 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 18 Oct 2017 16:30:00 +0200 Subject: [PATCH] ladish: fix cross build --- srcpkgs/ladish/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ladish/template b/srcpkgs/ladish/template index bf8fc093f1..6501b1238c 100644 --- a/srcpkgs/ladish/template +++ b/srcpkgs/ladish/template @@ -1,7 +1,7 @@ # Template file for 'ladish' pkgname=ladish version=1 -revision=8 +revision=9 wrksrc="ladish-1+dfsg0" build_style=waf hostmakedepends="perl intltool python pkg-config" @@ -20,7 +20,11 @@ checksum=39b09d5a4c2f2d65d37374eb8b53f35039f2229d96ea6ddef7b1ce154403383a CXXFLAGS=-std=c++11 do_configure() { - python waf configure --prefix=/usr --enable-liblash --enable-pylash + if [ "$CROSS_BUILD" ];then + python waf configure --prefix=/usr --enable-liblash + else + python waf configure --prefix=/usr --enable-liblash --enable-pylash + fi } ladish-devel_package() {