mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
[iOS] Use the correct option b_bitcode
for libzim and kiwix-lib.
This commit is contained in:
@ -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 ""
|
||||
|
Reference in New Issue
Block a user