[PATCH 1/4] erofs-utils: fix build error without lz4 library

Li GuiFu bluce.lee at aliyun.com
Mon Nov 2 01:35:59 AEDT 2020



On 2020/10/30 20:30, Gao Xiang wrote:
> 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
> 
> Fixes: c497d89e5eac ("erofs-utils: enhance static linking for lz4 1.8.x")
> Signed-off-by: Gao Xiang <hsiangkao at redhat.com>

It looks good
Reviewed-by: Li Guifu <bluce.lee at aliyun.com>
Thanks,


More information about the Linux-erofs mailing list