[PATCH] erofs-utils: fsck, dump: add missing liblzma dependency

Gao Xiang hsiangkao at linux.alibaba.com
Tue Nov 9 22:18:12 AEDT 2021


Otherwise, build will fail when enabling liblzma support.

Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
---
 dump/Makefile.am | 3 ++-
 fsck/Makefile.am | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dump/Makefile.am b/dump/Makefile.am
index 475990175ea2..9f0cd3f9db27 100644
--- a/dump/Makefile.am
+++ b/dump/Makefile.am
@@ -6,4 +6,5 @@ bin_PROGRAMS     = dump.erofs
 AM_CPPFLAGS = ${libuuid_CFLAGS}
 dump_erofs_SOURCES = main.c
 dump_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include
-dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} ${libuuid_LIBS} ${liblz4_LIBS}
+dump_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \
+	${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS}
diff --git a/fsck/Makefile.am b/fsck/Makefile.am
index 479ce8762c04..55b31eaf1e3e 100644
--- a/fsck/Makefile.am
+++ b/fsck/Makefile.am
@@ -6,4 +6,5 @@ bin_PROGRAMS     = fsck.erofs
 AM_CPPFLAGS = ${libuuid_CFLAGS}
 fsck_erofs_SOURCES = main.c
 fsck_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include
-fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} ${libuuid_LIBS} ${liblz4_LIBS}
+fsck_erofs_LDADD = $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} \
+	${libuuid_LIBS} ${liblz4_LIBS} ${liblzma_LIBS}
-- 
2.24.4



More information about the Linux-erofs mailing list