Use zlib in Windows.

This commit is contained in:
Themaister 2013-01-22 00:03:22 +01:00
parent e5f2afba33
commit aab4b5c276

View File

@ -49,6 +49,7 @@ HAVE_DSOUND = 1
HAVE_OPENGL = 1
HAVE_DYLIB = 1
HAVE_D3D9 = 1
HAVE_ZLIB = 1
HAVE_NETPLAY = 1
HAVE_STDIN_CMD = 1
HAVE_THREADS = 1
@ -143,6 +144,12 @@ ifeq ($(HAVE_RSOUND), 1)
LIBS += -lrsound
endif
ifeq ($(HAVE_ZLIB), 1)
OBJ += gfx/rpng/rpng.o file_extract.o
LIBS += -lz
DEFINES += -DHAVE_ZLIB_DEFLATE
endif
ifeq ($(HAVE_LIBXML2), 1)
DEFINES += -Ilibxml2 -DHAVE_LIBXML2 -DHAVE_GLSL
LIBS += -lxml2 -liconv