Merge pull request #664 from kiwix/android_debug
This commit is contained in:
commit
e121d04dbf
|
@ -19,6 +19,12 @@ class Libkiwix(Dependency):
|
|||
dependencies = ["pugixml", "libzim", "zlib", "lzma", "libcurl", "libmicrohttpd", "icu4c", "mustache", "xapian-core"]
|
||||
strip_option = ''
|
||||
|
||||
@property
|
||||
def build_type(self):
|
||||
if self.buildEnv.platformInfo.build == "android":
|
||||
return "debug"
|
||||
return super().build_type
|
||||
|
||||
@property
|
||||
def configure_option(self):
|
||||
platformInfo = self.buildEnv.platformInfo
|
||||
|
|
|
@ -16,6 +16,12 @@ class Libzim(Dependency):
|
|||
test_option = "-t 8"
|
||||
strip_option = ''
|
||||
|
||||
@property
|
||||
def build_type(self):
|
||||
if self.buildEnv.platformInfo.build == "android":
|
||||
return "debug"
|
||||
return super().build_type
|
||||
|
||||
@classmethod
|
||||
def get_dependencies(cls, platformInfo, allDeps):
|
||||
deps = ['lzma', 'zstd', 'xapian-core', 'icu4c']
|
||||
|
|
Loading…
Reference in New Issue