prepare.py: enable tunnel if submodules/tunnel folder is present

This commit is contained in:
Gautier Pelloux-Prayer 2015-07-03 14:41:05 +02:00
parent d11eac698c
commit cef30705d3

View file

@ -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