dependency
This commit is contained in:
parent
51dcd3209d
commit
72d21215b6
|
@ -24,8 +24,6 @@ class Libkiwix(Dependency):
|
|||
platformInfo = self.buildEnv.platformInfo
|
||||
if platformInfo.build == 'android':
|
||||
return '-Dstatic-linkage=true -Dwerror=false'
|
||||
if platformInfo.build == 'iOS':
|
||||
return '-Db_bitcode=true'
|
||||
if platformInfo.name == 'flatpak':
|
||||
return '--wrap-mode=nodownload'
|
||||
if platformInfo.mixed and option('target') == 'libkiwix':
|
||||
|
|
|
@ -30,8 +30,6 @@ class Libzim(Dependency):
|
|||
if platformInfo.build == 'android':
|
||||
config_options.append("-DUSE_BUFFER_HEADER=false")
|
||||
config_options.append("-Dstatic-linkage=true")
|
||||
if platformInfo.build == 'iOS':
|
||||
config_options.append("-Db_bitcode=true")
|
||||
if platformInfo.mixed and option('target') == 'libzim':
|
||||
config_options.append("-Dstatic-linkage=true")
|
||||
if platformInfo.name == "flatpak":
|
||||
|
|
Loading…
Reference in New Issue