summaryrefslogtreecommitdiff
path: root/mkfs/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-04-30 10:50:13 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-02 12:40:06 +0200
commita85c6025903a2b6e97e1938b201b3361a0cbed66 (patch)
treecf92df4ba782c4b9c4a49dcf1cc3e25f849723a9 /mkfs/Makemodule.am
parentfa7f378bf627ddcfd7a93a000149e4d8c3810bf5 (diff)
Add compressor library
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/Makemodule.am')
-rw-r--r--mkfs/Makemodule.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/mkfs/Makemodule.am b/mkfs/Makemodule.am
index 1d062b9..ad3f166 100644
--- a/mkfs/Makemodule.am
+++ b/mkfs/Makemodule.am
@@ -1,5 +1,13 @@
mksquashfs_SOURCES = mkfs/mksquashfs.c mkfs/options.c mkfs/options.h
mksquashfs_SOURCES += include/squashfs.h
-mksquashfs_LDADD = libfstree.a
+mksquashfs_LDADD = libfstree.a libcompress.a
+
+if WITH_LZMA
+mksquashfs_LDADD += $(XZ_LIBS)
+endif
+
+if WITH_ZLIB
+mksquashfs_LDADD += $(ZLIB_LIBS)
+endif
bin_PROGRAMS += mksquashfs