From cd50b17e7ba4c9491134cb88e0de40706a69e193 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Tue, 18 Oct 2016 18:09:44 +0200 Subject: [PATCH] Wrong cwd path for unity.py --- waflib/extras/unity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/extras/unity.py b/waflib/extras/unity.py index 220f8678..35afc359 100644 --- a/waflib/extras/unity.py +++ b/waflib/extras/unity.py @@ -23,7 +23,7 @@ class unity(Task.Task): color = 'BLUE' scan = c_preproc.scan def to_include(self, node): - ret = node.path_from(self.get_cwd()) + ret = node.path_from(self.outputs[0].parent) ret = ret.replace('\\', '\\\\').replace('"', '\\"') return ret def run(self):