[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
This commit is contained in:
Jordan Rupprecht
2019-07-18 18:18:51 +00:00
parent d91998a5ac
commit 301c65a8e0

View File

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