1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/util/charset/wscript_build
Volker Lendecke 1c2460a87e lib: Fix 'charset' dependencies
With this, 'charset' could be a SAMBA_LIBRARY without any undefined symbols

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 12 01:19:26 UTC 2021 on sn-devel-184
2021-01-12 01:19:26 +00:00

23 lines
746 B
Python

#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('ICONV_WRAPPER',
source='''
iconv.c
weird.c
charset_macosxfs.c
''',
public_deps='iconv replace talloc ' + bld.env['icu-libs'])
bld.SAMBA_SUBSYSTEM('charset',
public_headers='charset.h',
source='''
codepoints.c
convert_string.c
util_str.c
util_unistr_w.c
pull_push.c
util_unistr.c
''',
deps='DYNCONFIG ICONV_WRAPPER smb-panic samba-debug',
public_deps='talloc')