2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

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

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)