From eb75660e4832d009c7332b9dd64d831790b8331b Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Thu, 5 Apr 2018 15:38:15 +0200 Subject: [PATCH] Do not try to compile xz and xzdec tools. libaria2 use xz to configure its source. If we compile the xz tool, libaria2 will use the compiled binary. However, on cross compilation, xz will be compiled for the target platform and run on the host platform. And so, it will fails. As we do not use those tools at all, lets not compile them. --- kiwixbuild/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwixbuild/dependencies.py b/kiwixbuild/dependencies.py index 4b5cf6a..15a2ca5 100644 --- a/kiwixbuild/dependencies.py +++ b/kiwixbuild/dependencies.py @@ -87,7 +87,7 @@ class lzma(Dependency): class Builder(MakeBuilder): @property def configure_option(self): - return "--disable-assembler" + return "--disable-assembler --disable-xz --disable-xzdec" class UUID(Dependency): name = 'uuid'