diff options
author | Andreas Schneider <asn@samba.org> | 2015-02-23 17:12:46 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-02-23 22:31:22 +0100 |
commit | c0a463d94abb5c50eaca7b1d402c979684f96a97 (patch) | |
tree | c7ab4682ecc3a579b799ab33d4bc8f9c5e55bc1a /wscript | |
parent | 8e76e267fe105d77400b7c593499f6d175e3467a (diff) | |
download | samba-c0a463d94abb5c50eaca7b1d402c979684f96a97.tar.gz |
waf: Only build the wrappers if we enable selftest
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Feb 23 22:31:22 CET 2015 on sn-devel-104
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -156,16 +156,17 @@ def configure(conf): conf.RECURSE('lib/ntdb') conf.RECURSE('lib/util/charset') conf.RECURSE('source4/auth') - conf.RECURSE('lib/nss_wrapper') conf.RECURSE('nsswitch') - conf.RECURSE('lib/resolv_wrapper') - conf.RECURSE('lib/socket_wrapper') - conf.RECURSE('lib/uid_wrapper') conf.RECURSE('lib/subunit/c') conf.RECURSE('libcli/smbreadline') conf.RECURSE('lib/crypto') conf.RECURSE('pidl') conf.RECURSE('selftest') + if conf.CONFIG_GET('ENABLE_SELFTEST'): + conf.RECURSE('lib/nss_wrapper') + conf.RECURSE('lib/resolv_wrapper') + conf.RECURSE('lib/socket_wrapper') + conf.RECURSE('lib/uid_wrapper') conf.RECURSE('source3') conf.RECURSE('lib/texpect') if conf.env.with_ctdb: |