Commit f8b422b6d43bb4b12d3e614b024fbe8415971f4e

Vicent Marti 2010-11-23T22:33:04

Use the proper Zlib version with MSVC Signed-off-by: Vicent Marti <tanoku@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/wscript b/wscript
index 6e82e0e..a5bfe89 100644
--- a/wscript
+++ b/wscript
@@ -26,8 +26,8 @@ def configure(conf):
 
 		if conf.env.CC_NAME == 'msvc':
 			conf.env.CFLAGS = CFLAGS_WIN32
-			conf.env.DEFINES += ['WIN32', '_DEBUG', '_LIB']
-			zlib_name = 'zdll'
+			conf.env.DEFINES += ['WIN32', '_DEBUG', '_LIB', 'ZLIB_WINAPI']
+			zlib_name = 'zlibwapi'
 
 		elif conf.env.CC_NAME == 'gcc':
 			conf.check(features='c cprogram', lib='pthread', uselib_store='pthread')