diff options
Diffstat (limited to 'mkfs/Makemodule.am')
-rw-r--r-- | mkfs/Makemodule.am | 10 |
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 |