summaryrefslogtreecommitdiff
path: root/lib/sqfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-04-10 19:31:31 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-04-10 22:48:34 +0200
commitcb1763e48401d77100630184e56908c287e70109 (patch)
tree1ad820dd12e161a6131841629362bb77b36d65c5 /lib/sqfs
parent97e4ae237c760144c912530122d3899de850e23f (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs')
-rw-r--r--lib/sqfs/Makemodule.am5
1 files changed, 0 insertions, 5 deletions
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