aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends.py b/backends.py
index e7b6a9c..55f3192 100644
--- a/backends.py
+++ b/backends.py
@@ -218,7 +218,8 @@ class Backend():
for src in gen_src_deps:
src_list.append(src)
if is_unity:
- unity_src.append(src)
+ unity_src.append(os.path.join(self.environment.get_build_dir(), src))
+ header_deps.append(src)
else:
# Generated targets are ordered deps because the must exist
# before the sources compiling them are used. After the first