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/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript
index f4fdff2ab9..6d9a95795d 100644
--- a/lib/socket_wrapper/wscript
+++ b/lib/socket_wrapper/wscript
@@ -8,7 +8,9 @@ def set_options(opt):
action="store_true", dest='enable_socket_wrapper', default=False)
def configure(conf):
- if Options.options.enable_socket_wrapper or Options.options.developer:
+ 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')