Do not try to download subproject for libzim in flatpak.

This commit is contained in:
Matthieu Gautier 2019-07-31 16:36:31 +02:00
parent 3c1864c724
commit 7c2527c38f
1 changed files with 2 additions and 0 deletions

View File

@ -25,4 +25,6 @@ class Libzim(Dependency):
return "-Db_bitcode=true" return "-Db_bitcode=true"
if platformInfo.name == 'native_mixed' and option('target') == 'libzim': if platformInfo.name == 'native_mixed' and option('target') == 'libzim':
return "-Dstatic-linkage=true" return "-Dstatic-linkage=true"
if platformInfo.name == "flatpak":
return "--wrap-mode=nodownload"
return "" return ""