summaryrefslogtreecommitdiff
path: root/lib/socket_wrapper/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/socket_wrapper/wscript')
-rw-r--r--lib/socket_wrapper/wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript
new file mode 100644
index 0000000000..0534fbcda4
--- /dev/null
+++ b/lib/socket_wrapper/wscript
@@ -0,0 +1,11 @@
+import Options
+
+def set_options(opt):
+ opt.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:
+ conf.DEFINE('SOCKET_WRAPPER', 1)
+