diff options
author | Ignazio Sgalmuzzo <ignaker@gmail.com> | 2014-02-17 22:21:31 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-18 21:33:42 -0800 |
commit | 2a685b05f91f71c3b00ee8890ebaed16839b0cd0 (patch) | |
tree | a9e96668322523efc5ca6bbeadee63fc609ed594 /libstore/Makefile | |
parent | 8132295cfd2d26a13a6cd2f61b7f5c56ea5efaa7 (diff) |
libstore: replaced gz decompression code with libz
Note: dropped .zip support
configure.ac: added check for libz
ext2fs/Makefile: linked libz
fatfs/Makefile: linked libz
isofs/Makefile: linked libz
libstore/Makefile: linked libz
libstore/do-gunzip.c: new decompression function using libz calls.
libstore/gunzip.c: removed no longer needed code replaced by do_gunzip()
libstore/gzip.h: deleted, no longer needed
libstore/inflate.c: deleted: no longer needed
libstore/tailor.h: deleted: no longer needed
libstore/unzip.c: deleted: no longer needed
libstore/util.c: removed no longer needed code.
Diffstat (limited to 'libstore/Makefile')
-rw-r--r-- | libstore/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstore/Makefile b/libstore/Makefile index 542738f2..2bb5e4b9 100644 --- a/libstore/Makefile +++ b/libstore/Makefile @@ -53,8 +53,8 @@ libstore.so-LDLIBS += $(PARTED_LIBS) -ldl installhdrs=store.h HURDLIBS = shouldbeinlibc -LDLIBS += -lpthread -lbz2 -GUNZIP_OBJS = unzip.o inflate.o util.o +LDLIBS += -lpthread -lbz2 -lz +GUNZIP_OBJS = do-gunzip.o util.o BUNZIP2_OBJS = do-bunzip2.o OBJS = $(SRCS:.c=.o) $(GUNZIP_OBJS) $(BUNZIP2_OBJS) |