mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Move dependencies declaration of a target into the builder.
This is the builder that depends on other target, not the target itself.
This commit is contained in:
@ -38,9 +38,10 @@ class LibMagic_native(LibMagicBase):
|
||||
|
||||
class LibMagic_cross_compile(LibMagicBase):
|
||||
name = "libmagic_cross-compile"
|
||||
dependencies = ['libmagic_native']
|
||||
|
||||
class Builder(LibMagicBase.Builder):
|
||||
dependencies = ['libmagic_native']
|
||||
|
||||
def _compile(self, context):
|
||||
context.try_skip(self.build_path)
|
||||
command = "make -j4 {make_target} {make_option}".format(
|
||||
|
Reference in New Issue
Block a user