mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
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.
This commit is contained in:
parent
ecec9ae9b1
commit
b423367224
4
makefile
4
makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user