mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-16 16:41:42 +00:00
aedi: add detection to zip target
This commit is contained in:
parent
85ab6c4706
commit
3df0e9dc2b
1 changed files with 3 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue