Skip to content

Commit

Permalink
Use the proper Zlib version with MSVC
Browse files Browse the repository at this point in the history
Signed-off-by: Vicent Marti <[email protected]>
  • Loading branch information
vmg committed Nov 23, 2010
1 parent 8b0e448 commit f8b422b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f8b422b

Please sign in to comment.