From 1f853ee51b46b5a1a3b4e8e2c13023ddcc034fa2 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 12 Nov 2010 16:22:16 +0100 Subject: socket_wrapper: Only add as global dependency when enabled. --- lib/socket_wrapper/wscript | 6 +++--- 1 file 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') -- cgit