mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
aedi: link *zdoom targets with zlib explicitly
gzdoom no longer depends on zlib while zmusic still does, but it doesn't pull zlib as dependency
This commit is contained in:
parent
6d6673961c
commit
05e8eb3618
1 changed files with 2 additions and 2 deletions
|
@ -87,10 +87,10 @@ class ZDoomBaseTarget(CMakeMainTarget):
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
def configure(self, state: BuildState):
|
||||||
pkg_config_args = ['--libs', 'openal', 'sndfile']
|
pkg_config_args = ['--libs', 'openal', 'sndfile']
|
||||||
linker_flags = ''
|
linker_flags = f'{state.lib_path}/libz.a '
|
||||||
|
|
||||||
if state.quasi_glib:
|
if state.quasi_glib:
|
||||||
linker_flags = '-lquasi-glib '
|
linker_flags += '-lquasi-glib '
|
||||||
else:
|
else:
|
||||||
pkg_config_args.append('glib-2.0')
|
pkg_config_args.append('glib-2.0')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue