[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):
|
def configure_option(self):
|
||||||
if self.buildEnv.platformInfo.build == 'android':
|
if self.buildEnv.platformInfo.build == 'android':
|
||||||
return '-Dandroid=true'
|
return '-Dandroid=true'
|
||||||
|
if self.buildEnv.platformInfo.build == 'iOS':
|
||||||
|
return '-Db_bitcode=true'
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -16,8 +16,9 @@ class Libzim(Dependency):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def configure_option(self):
|
def configure_option(self):
|
||||||
options = ""
|
|
||||||
platformInfo = self.buildEnv.platformInfo
|
platformInfo = self.buildEnv.platformInfo
|
||||||
if platformInfo.build == 'android':
|
if platformInfo.build == 'android':
|
||||||
options += "-DUSE_BUFFER_HEADER=false"
|
return "-DUSE_BUFFER_HEADER=false"
|
||||||
return options
|
if platformInfo.build == 'iOS':
|
||||||
|
return "-Db_bitcode=true"
|
||||||
|
return ""
|
||||||
|
|
Loading…
Reference in New Issue