diff options
author | Couriersud <couriersud@users.noreply.github.com> | 2010-01-17 20:36:46 +0000 |
---|---|---|
committer | Couriersud <couriersud@users.noreply.github.com> | 2010-01-17 20:36:46 +0000 |
commit | b423367224c69e5418c15ac6cbeb8a2705cfdd93 (patch) | |
tree | 8ef6d467ade2a681af906b5e5a4dca51f61bcd1a /makefile | |
parent | ecec9ae9b15c3fefb332376577116f5bedf1b770 (diff) |
Allow that zlib and expat can be linked dynamically without changing the makefile by specifying "=0":
make BUILD_ZLIB=0 BUILD_EXPAT=0
This was possible before as well but this is more what users (and myself) would expect.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -524,7 +524,7 @@ VERSIONOBJ = $(OBJ)/version.o LIBS = # add expat XML library -ifdef BUILD_EXPAT +ifeq ($(BUILD_EXPAT),1) CCOMFLAGS += -I$(SRC)/lib/expat EXPAT = $(OBJ)/libexpat.a else @@ -533,7 +533,7 @@ EXPAT = endif # add ZLIB compression library -ifdef BUILD_ZLIB +ifeq ($(BUILD_ZLIB),1) CCOMFLAGS += -I$(SRC)/lib/zlib ZLIB = $(OBJ)/libz.a else |