1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/third_party/zlib/wscript
Ira Cooper ba8ee8c9e0 third_party/zlib: Initial support for zlib
Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-08-09 18:26:16 +02:00

18 lines
556 B
Python

#!/usr/bin/env python
def configure(conf):
if conf.CHECK_ZLIB():
conf.define('USING_SYSTEM_ZLIB', 1)
def build(bld):
if bld.CONFIG_SET('USING_SYSTEM_ZLIB'):
return
bld.SAMBA_LIBRARY('z',
private_library=True,
deps='replace',
allow_warnings=True,
source='''adler32.c compress.c crc32.c gzio.c
uncompr.c deflate.c trees.c zutil.c
inflate.c infback.c inftrees.c inffast.c''')