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:
Morten V. Pedersen 2020-01-02 13:47:47 +00:00
commit 09993804de
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)