erofs-utils: fix build error without lz4 library

This fixes a recent build error if lz4 library doesn't install,

/bin/sh ../libtool  --tag=CC   --mode=link gcc -Wall -Werror -I../include -g -O2   -o mkfs.erofs mkfs_erofs-main.o -luuid  ../lib/liberofs.la  -llz4
libtool: link: gcc -Wall -Werror -I../include -g -O2 -o mkfs.erofs mkfs_erofs-main.o  -luuid ../lib/.libs/liberofs.a -llz4
/usr/bin/ld: cannot find -llz4

Link: https://lore.kernel.org/r/20201030123020.133084-1-hsiangkao@redhat.com
Fixes: c497d89e5eac ("erofs-utils: enhance static linking for lz4 1.8.x")
Reviewed-by: Li Guifu <bluce.lee@aliyun.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
2 files changed