premake5: Fix non-static builds of zlib.

This commit is contained in:
/dev/urandom 2016-01-04 21:37:14 +01:00
parent d81ed71f2a
commit b2d5d3d870
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -127,7 +127,7 @@ workspace "iw4x"
-- zlib -- zlib
project "zlib" project "zlib"
language "C" language "C"
defines { "_CRT_SECURE_NO_DEPRECATE" } defines { "ZLIB_DLL", "_CRT_SECURE_NO_DEPRECATE" }
files files
{ {
@ -141,3 +141,4 @@ workspace "iw4x"
kind "SharedLib" kind "SharedLib"
configuration "*Static" configuration "*Static"
kind "StaticLib" kind "StaticLib"
removedefines { "ZLIB_DLL" }