summaryrefslogtreecommitdiff
path: root/libstore/Makefile
diff options
context:
space:
mode:
authorIgnazio Sgalmuzzo <ignaker@gmail.com>2014-01-04 22:59:25 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-02-09 21:36:22 +0100
commitb39be886ee3562ff924b631a365b1e46d424f636 (patch)
treefa806696bbabbfafe294abd287273c26e66746cd /libstore/Makefile
parenteafc1c8d2223693e96c9619897f92774735fcb49 (diff)
Replaced bz2 decompression code with libbz2
configure.ac: added check for libbz2 libstore/Makefile: linked libbz2 ext2fs/Makefile: linked libbz2 do-bunzip2.c: rewritten do_bunzip2 using libbz2 calls. Removed no longer needed functions.
Diffstat (limited to 'libstore/Makefile')
-rw-r--r--libstore/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstore/Makefile b/libstore/Makefile
index 607940b7..542738f2 100644
--- a/libstore/Makefile
+++ b/libstore/Makefile
@@ -53,7 +53,7 @@ libstore.so-LDLIBS += $(PARTED_LIBS) -ldl
installhdrs=store.h
HURDLIBS = shouldbeinlibc
-LDLIBS += -lpthread
+LDLIBS += -lpthread -lbz2
GUNZIP_OBJS = unzip.o inflate.o util.o
BUNZIP2_OBJS = do-bunzip2.o
OBJS = $(SRCS:.c=.o) $(GUNZIP_OBJS) $(BUNZIP2_OBJS)