From a8e0a1859212d7712dfaf3df812c06251359ab5e Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sun, 11 Nov 2012 18:18:01 +0400 Subject: Fix client build with CONFIG_NO_ZLIB. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 46d9053..5bf831b 100644 --- a/Makefile +++ b/Makefile @@ -393,7 +393,10 @@ ifdef CONFIG_MVD_CLIENT OBJS_c += src/server/mvd/client.o src/server/mvd/game.o src/server/mvd/parse.o endif -ifndef CONFIG_NO_ZLIB +ifdef CONFIG_NO_ZLIB + CFLAGS_c += -DUSE_ZLIB=0 + CFLAGS_s += -DUSE_ZLIB=0 +else ZLIB_CFLAGS ?= ZLIB_LIBS ?= -lz CFLAGS_c += -DUSE_ZLIB=1 $(ZLIB_CFLAGS) -- cgit v1.2.3