Merge branch 'fix-buildcontext-detection' into 'master'

Fix detection of build context when a custom context is used

See merge request ita1024/waf!2274
This commit is contained in:
ita1024 2020-01-02 18:57:35 +00:00
commit 29af444dd0
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ def patch_execute():
"""
Invoke clangdb command before build
"""
if type(self) == Build.BuildContext:
if self.cmd.startswith('build'):
Scripting.run_command('clangdb')
old_execute_build(self)