[iOS] Use the correct option b_bitcode for libzim and kiwix-lib.

This commit is contained in:
Matthieu Gautier
2019-01-17 16:23:03 +01:00
parent 8ffbac9734
commit b2d2e489bf
2 changed files with 6 additions and 3 deletions

View File

@ -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 ""