[PATCH 1/7] erofs-utils: tests: fix when lz4 is not enabled

Hu Weiwen sehuww at mail.scut.edu.cn
Fri Jan 22 03:37:09 AEDT 2021


Signed-off-by: Hu Weiwen <sehuww at mail.scut.edu.cn>
---
 tests/src/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/src/Makefile.am b/tests/src/Makefile.am
index 4959592..ad272d6 100644
--- a/tests/src/Makefile.am
+++ b/tests/src/Makefile.am
@@ -2,11 +2,12 @@
 # Makefile.am
 
 AUTOMAKE_OPTIONS	= foreign
-noinst_PROGRAMS		= fssum badlz4
+noinst_PROGRAMS		= fssum
 
 fssum_SOURCES = md5.c fssum.c
 
 if ENABLE_LZ4
+noinst_PROGRAMS += badlz4
 badlz4_SOURCES = badlz4.c
 badlz4_LDADD = ${liblz4_LIBS}
 endif
-- 
2.30.0



More information about the Linux-erofs mailing list