build script: use own zlib and bz2 libraries for devilutionx

This commit is contained in:
alexey.lysiuk 2020-08-02 13:29:13 +03:00
parent a41e67ada3
commit c81f11dd16

View file

@ -233,15 +233,17 @@ class DevilutionXTarget(Target):
def configure(self, builder: 'Builder'): def configure(self, builder: 'Builder'):
self._assign_common_linker_flags(builder) self._assign_common_linker_flags(builder)
extra_linker_args = ' -lbz2 -lz -framework Cocoa -framework ForceFeedback -framework IOKit' extra_linker_args = ' -framework Cocoa -framework ForceFeedback -framework IOKit'
extra_libs = ( extra_libs = (
'bz2',
'freetype', 'freetype',
'mikmod', 'mikmod',
'modplug', 'modplug',
'opusfile', 'opusfile',
'png', 'png',
'vorbisfile', 'vorbisfile',
'z',
) )
for lib in extra_libs: for lib in extra_libs: