1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

charset: allow s3 waf build to use lib/util/charset

the only conflict is with 'CHARSET' itself, which now builds
conditionally on _SAMBA_BUILD_==4

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2011-02-17 14:12:36 +11:00
parent ba942c8bfe
commit fd000928e3

View File

@ -1,11 +1,12 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('CHARSET',
source='iconv.c charcnv.c util_unistr.c',
public_deps='iconv CODEPOINTS',
public_headers='charset.h',
)
if bld.env._SAMBA_BUILD_ == 4:
bld.SAMBA_SUBSYSTEM('CHARSET',
source='iconv.c charcnv.c util_unistr.c',
public_deps='iconv CODEPOINTS',
public_headers='charset.h',
)
bld.SAMBA_SUBSYSTEM('CODEPOINTS',
source='codepoints.c',