From cef30705d31aead412b87b4690a9bb767396e3ad Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Fri, 3 Jul 2015 14:41:05 +0200 Subject: [PATCH] prepare.py: enable tunnel if submodules/tunnel folder is present --- prepare.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prepare.py b/prepare.py index 95c8ae48a..333cc5687 100755 --- a/prepare.py +++ b/prepare.py @@ -475,6 +475,10 @@ def main(argv=None): if args.debug_verbose: additional_args += ["-DENABLE_DEBUG_LOGS=YES"] + if os.path.isdir("submodules/tunnel"): + print("Enabling tunnel") + additional_args += ["-DENABLE_TUNNEL=YES"] + if check_tools() != 0: return 1