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):
|
class Builder(MesonBuilder):
|
||||||
test_option = "-t 8"
|
test_option = "-t 8"
|
||||||
dependencies = ['zlib', 'lzma', 'xapian-core', 'icu4c']
|
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…
Reference in New Issue