summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper/wscript_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-11-12 12:55:14 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-11-12 14:33:34 +0000
commit5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e (patch)
tree57e6e95ee892c8f6e2e758cc640e25d0b10bf26f /lib/nss_wrapper/wscript_build
parentb6e13627dfca1171cf42e27e415c1fdb325d4926 (diff)
downloadsamba-5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e.tar.gz
samba-5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e.tar.bz2
samba-5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e.zip
s4-waf: Only enable various wrappers if they're actually used.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 12 14:33:34 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib/nss_wrapper/wscript_build')
-rw-r--r--lib/nss_wrapper/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/nss_wrapper/wscript_build b/lib/nss_wrapper/wscript_build
index 80045731c7..5f9df3a600 100644
--- a/lib/nss_wrapper/wscript_build
+++ b/lib/nss_wrapper/wscript_build
@@ -4,6 +4,7 @@
bld.SAMBA_LIBRARY('nss_wrapper',
source='nss_wrapper.c',
deps='replace',
- private_library=True
+ private_library=True,
+ enabled=bld.CONFIG_SET("NSS_WRAPPER"),
)