summaryrefslogtreecommitdiff
path: root/bin/tar2sqfs/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tar2sqfs/Makemodule.am')
-rw-r--r--bin/tar2sqfs/Makemodule.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/tar2sqfs/Makemodule.am b/bin/tar2sqfs/Makemodule.am
index 0a74419..58d1ef9 100644
--- a/bin/tar2sqfs/Makemodule.am
+++ b/bin/tar2sqfs/Makemodule.am
@@ -3,7 +3,11 @@ tar2sqfs_SOURCES += bin/tar2sqfs/options.c bin/tar2sqfs/process_tarball.c
tar2sqfs_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
tar2sqfs_LDADD = libcommon.a libsquashfs.la libtar.a libfstream.a
tar2sqfs_LDADD += libfstree.a libcompat.a libfstree.a $(LZO_LIBS)
-tar2sqfs_LDADD += $(PTHREAD_LIBS)
+tar2sqfs_LDADD += $(ZLIB_LIBS) $(XZ_LIBS) $(PTHREAD_LIBS)
+
+if WITH_OWN_ZLIB
+tar2sqfs_LDADD += libz.la
+endif
dist_man1_MANS += bin/tar2sqfs/tar2sqfs.1
bin_PROGRAMS += tar2sqfs