mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
buildtools: Do not install binaries which are for selftest
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14550 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
parent
9bc9f8ce66
commit
8fa0d3331b
@ -365,8 +365,10 @@ def SAMBA_BINARY(bld, binname, source,
|
||||
for_selftest=False):
|
||||
'''define a Samba binary'''
|
||||
|
||||
if for_selftest and not bld.CONFIG_GET('ENABLE_SELFTEST'):
|
||||
enabled=False
|
||||
if for_selftest:
|
||||
install=False
|
||||
if not bld.CONFIG_GET('ENABLE_SELFTEST'):
|
||||
enabled=False
|
||||
|
||||
if not enabled:
|
||||
SET_TARGET_TYPE(bld, binname, 'DISABLED')
|
||||
|
Loading…
x
Reference in New Issue
Block a user