From: Gao Xiang <[email protected]>
liblzma [1] has an experimental fixed-sized output LZMA compression
support now. Let's use it to have a try!
TODO:
complete configure.ac / Makefile.am
Cc: Lasse Collin <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
---
fuse/Makefile.am | 2 +-
lib/Makefile.am | 1 +
mkfs/Makefile.am | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fuse/Makefile.am b/fuse/Makefile.am
index e7757bc7d047..e471cb810c8c 100644
--- a/fuse/Makefile.am
+++ b/fuse/Makefile.am
@@ -7,4 +7,4 @@ erofsfuse_SOURCES = dir.c main.c
erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include
erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS}
${libselinux_CFLAGS}
erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS}
${liblz4_LIBS} ${libselinux_LIBS}
-
+erofsfuse_LDADD += -L/tmp/xz-test/lib -llzma
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f21dc35eda51..e048a16d73f2 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -13,3 +13,4 @@ liberofs_la_SOURCES += compressor_lz4hc.c
endif
endif
+liberofs_la_CFLAGS += -I/tmp/xz-test/include
diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am
index 8b8e05132bc0..7993cb76ee23 100644
--- a/mkfs/Makefile.am
+++ b/mkfs/Makefile.am
@@ -7,4 +7,4 @@ AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS}
mkfs_erofs_SOURCES = main.c
mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include
mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la
${libselinux_LIBS} ${liblz4_LIBS}
-
+mkfs_erofs_LDADD += -L/tmp/xz-test/lib -llzma
--
2.24.0