Commit f8b422b6 by Vicent Marti

Use the proper Zlib version with MSVC

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent 8b0e448f
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment