[iOS] Use the correct option `b_bitcode` for libzim and kiwix-lib.
This commit is contained in:
parent
8ffbac9734
commit
b2d2e489bf
|
@ -18,6 +18,8 @@ class Kiwixlib(Dependency):
|
|||
def configure_option(self):
|
||||
if self.buildEnv.platformInfo.build == 'android':
|
||||
return '-Dandroid=true'
|
||||
if self.buildEnv.platformInfo.build == 'iOS':
|
||||
return '-Db_bitcode=true'
|
||||
return ''
|
||||
|
||||
@property
|
||||
|
|
|
@ -16,8 +16,9 @@ class Libzim(Dependency):
|
|||
|
||||
@property
|
||||
def configure_option(self):
|
||||
options = ""
|
||||
platformInfo = self.buildEnv.platformInfo
|
||||
if platformInfo.build == 'android':
|
||||
options += "-DUSE_BUFFER_HEADER=false"
|
||||
return options
|
||||
return "-DUSE_BUFFER_HEADER=false"
|
||||
if platformInfo.build == 'iOS':
|
||||
return "-Db_bitcode=true"
|
||||
return ""
|
||||
|
|
Loading…
Reference in New Issue