Signed-off-by: Tao Liu <ltao@xxxxxxxxxx> Signed-off-by: Coiby Xu <coxu@xxxxxxxxxx> --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 5d61a69..725c186 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,11 @@ endif CFLAGS += -DUSESNAPPY endif +ifeq ($(USEZSTD), on) +LIBS := -lzstd $(LIBS) +CFLAGS += -DUSEZSTD +endif + LIBS := $(LIBS) -lpthread try-run = $(shell set -e; \ -- 2.29.2 _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec