[PATCH 1/7] erofs-utils: tests: fix when lz4 is not enabled
Gao Xiang
hsiangkao at redhat.com
Fri Jan 22 11:21:39 AEDT 2021
On Fri, Jan 22, 2021 at 12:37:09AM +0800, Hu Weiwen wrote:
> Signed-off-by: Hu Weiwen <sehuww at mail.scut.edu.cn>
Generally it can be directly fixed to check_PROGRAMS =...
Otherwise, it looks good to me,
Reviewed-by: Gao Xiang <hsiangkao at aol.com>
Thanks,
Gao Xiang
> ---
> 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