Merge branch 'master' into 'master'

Make clang_compilation_database compatible with variants

See merge request ita1024/waf!2328
This commit is contained in:
ita1024 2021-07-15 17:07:33 +00:00
commit abc4c27fcd
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def patch_execute():
Invoke clangdb command before build
"""
if self.cmd.startswith('build'):
Scripting.run_command('clangdb')
Scripting.run_command(self.cmd.replace('build','clangdb'))
old_execute_build(self)