diff options
author | Andrey Nazarov <skuller@skuller.net> | 2012-11-11 18:18:01 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2012-11-11 18:18:01 +0400 |
commit | a8e0a1859212d7712dfaf3df812c06251359ab5e (patch) | |
tree | 85b777407f3b01a7e46aabdf8923e5cf5954fec5 | |
parent | d42b3283be2af22701d1d992591dc3bf49d2283c (diff) |
Fix client build with CONFIG_NO_ZLIB.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |