mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ba8ee8c9e0
Signed-off-by: Ira Cooper <ira@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
18 lines
556 B
Python
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''')
|