From cb1763e48401d77100630184e56908c287e70109 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 10 Apr 2022 19:31:31 +0200 Subject: Remove builtin copy of zlib On GNU/Linux, *BSD or MacOS we can simply use the system default library. The copy was primarily only there for the Windows build. The build script for Windows has now been adapted to download and compile a shared library from a tarball. This removes a huge chunk of code from the git tree as well as the release tarballs. Additionally it gets rid of iffy things like removing the Zlib copyright/version strings, so the libsquashfs DLL doesn't export it. Signed-off-by: David Oberhollenzer --- lib/sqfs/Makemodule.am | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/sqfs') diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am index 06ffea1..c3add8e 100644 --- a/lib/sqfs/Makemodule.am +++ b/lib/sqfs/Makemodule.am @@ -78,11 +78,6 @@ endif if WITH_GZIP libsquashfs_la_SOURCES += lib/sqfs/comp/gzip.c libsquashfs_la_CPPFLAGS += -DWITH_GZIP - -if WITH_OWN_ZLIB -libsquashfs_la_CPPFLAGS += -I$(top_srcdir)/lib/zlib -libsquashfs_la_LIBADD += libz.la -endif endif if WITH_XZ -- cgit v1.2.3