aedi: add detection to zip target

This commit is contained in:
alexey.lysiuk 2021-07-22 09:57:02 +03:00
parent 85ab6c4706
commit 3df0e9dc2b

View file

@ -176,6 +176,9 @@ class ZipTarget(MakeTarget):
'f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369',
patches='zip-fix-misc')
def detect(self, state: BuildState) -> bool:
return state.has_source_file('zip.h')
def build(self, state: BuildState):
args = [
state.c_compiler(),