git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2783fe
)
lib/audit_logging: Only build audit_logging_test for --enable-selftest on the AD DC
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 21 Jun 2018 17:39:08 +0000
(
05:39
+1200)
committer
Ralph Boehme
<slow@samba.org>
Mon, 25 Jun 2018 21:01:20 +0000
(23:01 +0200)
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>
lib/audit_logging/wscript_build
patch
|
blob
|
history
diff --git
a/lib/audit_logging/wscript_build
b/lib/audit_logging/wscript_build
index fff683788d6eff350e83e0555e24f444b7052276..24ac8bb47897ec25638569eb7b6d5da6f74d1aa5 100644
(file)
--- a/
lib/audit_logging/wscript_build
+++ b/
lib/audit_logging/wscript_build
@@
-9,7
+9,7
@@
bld.SAMBA_SUBSYSTEM(
source='audit_logging.c'
)
-if bld.
CONFIG_S
ET('ENABLE_SELFTEST'):
+if bld.
AD_DC_BUILD_IS_ENABLED() and bld.CONFIG_G
ET('ENABLE_SELFTEST'):
bld.SAMBA_BINARY(
'audit_logging_test',
source='tests/audit_logging_test.c',