[PATCH] erofs-utils: lib: add missing dependencies
Gao Xiang
hsiangkao at linux.alibaba.com
Thu Dec 5 13:09:15 AEDT 2024
Add the missing ${libdeflate_CFLAGS} and ${libzstd_CFLAGS} to avoid
compilation errors.
Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
---
lib/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 2cb4cab..758363e 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -51,9 +51,11 @@ endif
liberofs_la_SOURCES += kite_deflate.c compressor_deflate.c
if ENABLE_LIBDEFLATE
+liberofs_la_CFLAGS += ${libdeflate_CFLAGS}
liberofs_la_SOURCES += compressor_libdeflate.c
endif
if ENABLE_LIBZSTD
+liberofs_la_CFLAGS += ${libzstd_CFLAGS}
liberofs_la_SOURCES += compressor_libzstd.c
endif
if ENABLE_EROFS_MT
--
2.43.5
More information about the Linux-erofs
mailing list