From: Jordan Rupprecht Date: Thu, 18 Jul 2019 18:18:51 +0000 (+0000) Subject: [lldb][swig] Fix autodocs flag parsing X-Git-Tag: llvmorg-11-init~14069 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=301c65a8e072e6346aa4bd38ca5dd54ecb41db3f;p=platform%2Fupstream%2Fllvm.git [lldb][swig] Fix autodocs flag parsing r366471 added "-features autodoc" without a trailing comment, leading to `Unrecognized option -features autodoc-threads` due to implicit string concatenation. Add a comma to fix that. Also separate into "-features" and "autodoc", otherwise it gets parsed as a single "-features autodoc" flag which is also not recognized (it must be two separate CLI args). llvm-svn: 366478 --- diff --git a/lldb/scripts/Python/prepare_binding_Python.py b/lldb/scripts/Python/prepare_binding_Python.py index f642ba3..7d13d6e 100644 --- a/lldb/scripts/Python/prepare_binding_Python.py +++ b/lldb/scripts/Python/prepare_binding_Python.py @@ -204,7 +204,7 @@ def do_swig_rebuild(options, dependency_file, config_build_dir, settings): "-c++", "-shadow", "-python", - "-features autodoc" + "-features", "autodoc", "-threads", "-I" + os.path.normpath(os.path.join(options.src_root, "include")), "-I" + os.path.curdir,