1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00
Andrew Bartlett b650ea5398 lib/audit_logging: Only build audit_logging_test for --enable-selftest on the AD DC
This allows a --without-ad-dc --enable-selftest build to compile, still testing some
fileserver-only features.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2018-06-25 23:01:20 +02:00

26 lines
557 B
Python

#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM(
'audit_logging',
deps='''MESSAGING_SEND
jansson
samba-debug
LIBTSOCKET''',
source='audit_logging.c'
)
if bld.AD_DC_BUILD_IS_ENABLED() and bld.CONFIG_GET('ENABLE_SELFTEST'):
bld.SAMBA_BINARY(
'audit_logging_test',
source='tests/audit_logging_test.c',
deps='''
audit_logging
jansson
cmocka
talloc
samba-util
LIBTSOCKET
''',
install=False
)