mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-28 14:42:03 +00:00
aedi: remove zlib target
This commit is contained in:
parent
9d139bb542
commit
e480083cb6
2 changed files with 0 additions and 16 deletions
|
@ -83,7 +83,6 @@ def targets():
|
|||
VpxTarget(),
|
||||
WebpTarget(),
|
||||
YasmTarget(),
|
||||
ZlibTarget(),
|
||||
ZlibNgTarget(),
|
||||
ZMusicTarget(),
|
||||
|
||||
|
|
|
@ -917,21 +917,6 @@ class YasmTarget(ConfigureMakeDependencyTarget):
|
|||
return os.path.exists(state.source + 'libyasm.h')
|
||||
|
||||
|
||||
class ZlibTarget(ConfigureMakeDependencyTarget):
|
||||
def __init__(self, name='zlib'):
|
||||
super().__init__(name)
|
||||
self.options['--static'] = None
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://zlib.net/zlib-1.2.11.tar.gz',
|
||||
'c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return os.path.exists(state.source + 'zlib.pc.in') \
|
||||
and not os.path.exists(state.source + 'zlib-ng.h')
|
||||
|
||||
|
||||
class ZlibNgTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='zlib-ng'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue