aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-04-16 22:38:29 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-04-16 22:38:29 +0300
commitc21637a01db7f6958c816bfe2a8b0383b96e8f68 (patch)
tree682774f314499b0951e0adf01d3af638025f700d /backends.py
parent4c02a35fe067d24ce97207a702dd2e46f2203849 (diff)
downloadmeson-c21637a01db7f6958c816bfe2a8b0383b96e8f68.zip
meson-c21637a01db7f6958c816bfe2a8b0383b96e8f68.tar.gz
meson-c21637a01db7f6958c816bfe2a8b0383b96e8f68.tar.bz2
Fixed unity builds for Qt5.
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