python/build/zlib.py: build zlib as a static library

Fixes one part of #404
This commit is contained in:
Max Kellermann 2018-11-04 11:09:05 +01:00
parent 528f5b9cb9
commit aa6bef54dd

View File

@ -18,5 +18,5 @@ class ZlibProject(Project):
'INCLUDE_PATH='+ os.path.join(toolchain.install_prefix, 'include'), 'INCLUDE_PATH='+ os.path.join(toolchain.install_prefix, 'include'),
'LIBRARY_PATH=' + os.path.join(toolchain.install_prefix, 'lib'), 'LIBRARY_PATH=' + os.path.join(toolchain.install_prefix, 'lib'),
'BINARY_PATH=' + os.path.join(toolchain.install_prefix, 'bin'), 'BINARY_PATH=' + os.path.join(toolchain.install_prefix, 'bin'),
'SHARED_MODE=1'], ],
cwd=src, env=toolchain.env) cwd=src, env=toolchain.env)