diff options
Diffstat (limited to 'lib/zlib/wscript')
-rw-r--r-- | lib/zlib/wscript | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/zlib/wscript b/lib/zlib/wscript index c16dc4c029..bc6de34611 100644 --- a/lib/zlib/wscript +++ b/lib/zlib/wscript @@ -16,10 +16,8 @@ def configure(conf): define='HAVE_ZLIB') def build(bld): - if bld.CONFIG_SET('HAVE_ZLIB'): - bld.TARGET_ALIAS('z', 'ZLIB') - else: - bld.SAMBA_LIBRARY('ZLIB', + if not bld.CONFIG_SET('HAVE_ZLIB'): + bld.SAMBA_LIBRARY('z', private_library=True, deps='replace', source='''adler32.c compress.c crc32.c gzio.c |