From 7c2527c38f0fba918f0aafe7bd33abf0c2cf42c9 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 31 Jul 2019 16:36:31 +0200 Subject: [PATCH] Do not try to download subproject for libzim in flatpak. --- kiwixbuild/dependencies/libzim.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kiwixbuild/dependencies/libzim.py b/kiwixbuild/dependencies/libzim.py index ed0ea24..946ef61 100644 --- a/kiwixbuild/dependencies/libzim.py +++ b/kiwixbuild/dependencies/libzim.py @@ -25,4 +25,6 @@ class Libzim(Dependency): return "-Db_bitcode=true" if platformInfo.name == 'native_mixed' and option('target') == 'libzim': return "-Dstatic-linkage=true" + if platformInfo.name == "flatpak": + return "--wrap-mode=nodownload" return ""