From 5343e8547a0937fc39b91b77cd1c6492100de8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Kooi?= <3961583-RA-Kooi@users.noreply.gitlab.com> Date: Sun, 10 Nov 2019 15:43:45 +0100 Subject: [PATCH] Add back an accidentally deleted line clang_compilation_database.py --- waflib/extras/clang_compilation_database.py | 1 + 1 file changed, 1 insertion(+) diff --git a/waflib/extras/clang_compilation_database.py b/waflib/extras/clang_compilation_database.py index 916ef5b3..722bc707 100644 --- a/waflib/extras/clang_compilation_database.py +++ b/waflib/extras/clang_compilation_database.py @@ -63,6 +63,7 @@ class ClangDbContext(Build.BuildContext): cmd = task.last_cmd except AttributeError: continue + directory = getattr(task, 'cwd', self.variant_dir) f_node = task.inputs[0] filename = f_node.path_from(task.get_cwd()) entry = {