mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
Fix detection of build context when a custom context is used
This commit is contained in:
parent
f5a398452e
commit
23c533566f
@ -123,7 +123,7 @@ def patch_execute():
|
||||
"""
|
||||
Invoke clangdb command before build
|
||||
"""
|
||||
if type(self) == Build.BuildContext:
|
||||
if isinstance(self, Build.BuildContext):
|
||||
Scripting.run_command('clangdb')
|
||||
|
||||
old_execute_build(self)
|
||||
|
Loading…
Reference in New Issue
Block a user