diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-12 16:22:16 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-12 17:42:13 +0000 |
commit | 1f853ee51b46b5a1a3b4e8e2c13023ddcc034fa2 (patch) | |
tree | 4e8896c2fcbee5917ef548f5959d64b840aca1cc /lib/socket_wrapper | |
parent | 32889f83465a5e943beb47c059572b8cd108df9c (diff) | |
download | samba-1f853ee51b46b5a1a3b4e8e2c13023ddcc034fa2.tar.gz samba-1f853ee51b46b5a1a3b4e8e2c13023ddcc034fa2.tar.bz2 samba-1f853ee51b46b5a1a3b4e8e2c13023ddcc034fa2.zip |
socket_wrapper: Only add as global dependency when enabled.
Diffstat (limited to 'lib/socket_wrapper')
-rw-r--r-- | lib/socket_wrapper/wscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript index 70474d7513..9da578fb63 100644 --- a/lib/socket_wrapper/wscript +++ b/lib/socket_wrapper/wscript @@ -3,13 +3,13 @@ import Options def set_options(opt): - gr = opt.option_group('developer options') - gr.add_option('--enable-socket-wrapper', + gr = opt.option_group('developer options') + gr.add_option('--enable-socket-wrapper', help=("Turn on socket wrapper library (default=no)"), action="store_true", dest='enable_socket_wrapper', default=False) def configure(conf): if (Options.options.enable_socket_wrapper or Options.options.developer or Options.options.enable_selftest): conf.DEFINE('SOCKET_WRAPPER', 1) - conf.ADD_GLOBAL_DEPENDENCY('socket_wrapper') + conf.ADD_GLOBAL_DEPENDENCY('socket_wrapper') |