Files
kiwix-build/kiwixbuild/dependencies/kiwix_tools.py
Matthieu Gautier aa349a18e7 Rename kiwix-lib to libkiwix.
The new name of kiwix-lib is libkiwix. Let kiwix-build adopt the name.
2021-06-30 16:45:54 +02:00

22 lines
516 B
Python

from .base import (
Dependency,
GitClone,
MesonBuilder)
class KiwixTools(Dependency):
name = "kiwix-tools"
force_build = True
class Source(GitClone):
git_remote = "https://github.com/kiwix/kiwix-tools.git"
git_dir = "kiwix-tools"
class Builder(MesonBuilder):
dependencies = ["libkiwix"]
@property
def configure_option(self):
if self.buildEnv.platformInfo.static:
return "-Dstatic-linkage=true"
return ""