Do not try to download subproject for libzim in flatpak.
This commit is contained in:
parent
3c1864c724
commit
7c2527c38f
|
@ -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 ""
|
||||||
|
|
Loading…
Reference in New Issue