On 2026/5/27 18:05, Yifan Zhao wrote:
liblzma now uses PKG_CHECK_MODULES() for path discovery, but a
leftover assignment still rewrote liblzma_LIBS to plain `-llzma`,
dropping pkg-config linker flags such as `-L${prefix}/lib`, which
breaks custom liblzma path discovery.
Remove the redundant logic and drop the obsolete INSTALL.md reference
to --with-liblzma-{incdir,libdir}.
Reported-by: Guo Xuenan <[email protected]>
Fixes: 37ada1b449ae ("erofs-utils: support liblzma auto-detection")
Assisted-by: Codex:GPT-5.5
Signed-off-by: Yifan Zhao <[email protected]>
Looks good to me.
Thanks,
Gao Xiang