commit | 21db2743bd3f64ca3b6a1d7d591392f457539e0f | [log] [tgz] |
---|---|---|
author | Gao Xiang <hsiangkao@linux.alibaba.com> | Wed Nov 10 14:49:31 2021 +0800 |
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | Wed Nov 10 23:23:59 2021 +0800 |
tree | dcc448bdb375d9fa492a202dc8a9f9028afc17f9 | |
parent | b2585be335c1839afbbcfcae4b4d62495c1eaaa5 [diff] |
AOSP: erofs-utils: avoid lzma inclusion when liblzma is disabled As Daeho reported [1], erofs-utils will fail to build with the current AOSP Android.bp: external/erofs-utils/lib/compressor_liblzma.c:8:10: fatal error: 'lzma.h' file not found ^~~~~~~~ 1 error generated. 16:13:47 ninja failed with: exit status 1 compressor_liblzma.c won't be compiled if ENABLE_LIBLZMA is not defined according to lib/Makefile.am. Thus it doesn't have an impact on non-Android scenarios. [1] https://lore.kernel.org/r/CACOAw_wt+DX0D+Ps-K=oF+MgUxtVKbXpamShoZR7n4WwM+wODw@mail.gmail.com Link: https://lore.kernel.org/r/20211110064931.181727-1-hsiangkao@linux.alibaba.com Reported-by: Daeho Jeong <daehojeong@google.com> Reviewed-by: Yue Hu <huyue2@yulong.com> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>