mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-09-22 11:56:21 -04:00
Merge pull request #231 from kiwix/android_no_header_mmap
Do not use buffered header on android.
This commit is contained in:
commit
2024dae4c8
@ -13,3 +13,11 @@ class Libzim(Dependency):
|
||||
class Builder(MesonBuilder):
|
||||
test_option = "-t 8"
|
||||
dependencies = ['zlib', 'lzma', 'xapian-core', 'icu4c']
|
||||
|
||||
@property
|
||||
def configure_option(self):
|
||||
options = ""
|
||||
platformInfo = self.buildEnv.platformInfo
|
||||
if platformInfo.build == 'android':
|
||||
options += "-DUSE_BUFFER_HEADER=false"
|
||||
return options
|
||||
|
Loading…
x
Reference in New Issue
Block a user