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:
alexey.lysiuk 2023-09-21 12:33:01 +03:00
parent 6d6673961c
commit 05e8eb3618

View file

@ -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')