From c81f11dd16bc08a6fbd8bbbb5037e8d070ae622a Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 2 Aug 2020 13:29:13 +0300 Subject: [PATCH] build script: use own zlib and bz2 libraries for devilutionx --- build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 51767325..e4d88c1d 100755 --- a/build.py +++ b/build.py @@ -233,15 +233,17 @@ class DevilutionXTarget(Target): def configure(self, builder: '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 = ( + 'bz2', 'freetype', 'mikmod', 'modplug', 'opusfile', 'png', 'vorbisfile', + 'z', ) for lib in extra_libs: