summaryrefslogtreecommitdiff
path: root/lib/uid_wrapper
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-23 23:59:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-23 22:24:06 +0000
commit9757a0c54cc6c8a6a0cb5bdec488316b969adcec (patch)
tree42be5c519060432b475a1073a9273bdc3ed55ecb /lib/uid_wrapper
parent7b8549348a98fbc43917bc56244637e9a8b25c37 (diff)
downloadsamba-9757a0c54cc6c8a6a0cb5bdec488316b969adcec.tar.gz
samba-9757a0c54cc6c8a6a0cb5bdec488316b969adcec.tar.bz2
samba-9757a0c54cc6c8a6a0cb5bdec488316b969adcec.zip
s4: Rename UID_WRAPPER to uid_wrapper.
Only link to uid_wrapper when it is enabled.
Diffstat (limited to 'lib/uid_wrapper')
-rw-r--r--lib/uid_wrapper/wscript9
-rw-r--r--lib/uid_wrapper/wscript_build2
2 files changed, 6 insertions, 5 deletions
diff --git a/lib/uid_wrapper/wscript b/lib/uid_wrapper/wscript
index 434d4fa5a8..1501d0e5ce 100644
--- a/lib/uid_wrapper/wscript
+++ b/lib/uid_wrapper/wscript
@@ -3,14 +3,15 @@
import Options
def set_options(opt):
- gr = opt.option_group('developer options')
- gr.add_option('--enable-uid-wrapper',
+ gr = opt.option_group('developer options')
+ gr.add_option('--enable-uid-wrapper',
help=("Turn on uid wrapper library (default=no)"),
action="store_true", dest='enable_uid_wrapper', default=False)
def configure(conf):
if (Options.options.enable_uid_wrapper or
- Options.options.developer or
- Options.options.enable_selftest):
+ Options.options.developer or
+ Options.options.enable_selftest):
conf.DEFINE('UID_WRAPPER', 1)
+ conf.ADD_GLOBAL_DEPENDENCY('uid_wrapper')
diff --git a/lib/uid_wrapper/wscript_build b/lib/uid_wrapper/wscript_build
index ec95d6c83c..2cb9868dec 100644
--- a/lib/uid_wrapper/wscript_build
+++ b/lib/uid_wrapper/wscript_build
@@ -1,7 +1,7 @@
#!/usr/bin/env python
-bld.SAMBA_LIBRARY('UID_WRAPPER',
+bld.SAMBA_LIBRARY('uid_wrapper',
source='uid_wrapper.c',
deps='talloc',
private_library=True