diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-12 12:55:14 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-12 14:33:34 +0000 |
commit | 5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e (patch) | |
tree | 57e6e95ee892c8f6e2e758cc640e25d0b10bf26f | |
parent | b6e13627dfca1171cf42e27e415c1fdb325d4926 (diff) | |
download | samba-5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e.tar.gz samba-5cf904b1d9b4eaa366851d9ab51c0ed4e86d773e.tar.xz 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
-rw-r--r-- | lib/nss_wrapper/wscript_build | 3 | ||||
-rw-r--r-- | lib/socket_wrapper/wscript_build | 1 | ||||
-rw-r--r-- | lib/uid_wrapper/wscript_build | 3 |
3 files changed, 5 insertions, 2 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"), ) diff --git a/lib/socket_wrapper/wscript_build b/lib/socket_wrapper/wscript_build index e100ccc6fe..a81c7aa61a 100644 --- a/lib/socket_wrapper/wscript_build +++ b/lib/socket_wrapper/wscript_build @@ -4,5 +4,6 @@ bld.SAMBA_LIBRARY('socket_wrapper', source='socket_wrapper.c', group='base_libraries', private_library=True, + enabled=bld.CONFIG_SET('SOCKET_WRAPPER'), deps='replace') diff --git a/lib/uid_wrapper/wscript_build b/lib/uid_wrapper/wscript_build index 2cb9868dec..54e5b80f43 100644 --- a/lib/uid_wrapper/wscript_build +++ b/lib/uid_wrapper/wscript_build @@ -4,6 +4,7 @@ bld.SAMBA_LIBRARY('uid_wrapper', source='uid_wrapper.c', deps='talloc', - private_library=True + private_library=True, + enabled=bld.CONFIG_SET("UID_WRAPPER"), ) |