mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 16:13:13 +00:00
Use the proper Zlib version with MSVC
Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
parent
8b0e448f5c
commit
f8b422b6d4
4
wscript
4
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')
|
||||
|
Loading…
Reference in New Issue
Block a user