Signed-off-by: HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com> --- Makefile | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 7337c58..8e5d72d 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,11 @@ LIBS := -llzo2 $(LIBS) CFLAGS += -DUSELZO endif +ifeq ($(USESNAPPY), on) +LIBS := -lsnappy $(LIBS) +CFLAGS += -DUSESNAPPY +endif + all: makedumpfile $(OBJ_PART): $(SRC_PART)