Update Zlib to v1.2.11 (#527)
* Update Zlib to v1.2.10 * Adjust config for linux/mac
This commit is contained in:
5
third_party/zlib/AMBuilder
vendored
5
third_party/zlib/AMBuilder
vendored
@ -3,6 +3,11 @@ import os, platform
|
||||
|
||||
lib = builder.compiler.StaticLibrary('zlib')
|
||||
|
||||
if builder.target_platform is 'linux' or builder.target_platform is 'mac':
|
||||
lib.compiler.defines += [
|
||||
'HAVE_UNISTD_H'
|
||||
]
|
||||
|
||||
lib.compiler.includes += [
|
||||
os.path.join(builder.sourcePath, 'third_party', 'zlib'),
|
||||
]
|
||||
|
Reference in New Issue
Block a user