summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-06-14 13:56:42 +0100
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-18 10:52:21 +0000
commitd17ce4ffd0b36192aa728bebbf0f29661f472b62 (patch)
tree4ca4dc3567f58a34a7ab135b1ae691056734b2a4
parent09c03a409b057ed269b1e1671a5b8c857015ce5a (diff)
downloadmeson-d17ce4ffd0b36192aa728bebbf0f29661f472b62.tar.gz
Correctly substitute the internal @BUILD_ROOT@ token with MSVC backend
To me, this looks like a mistake in 976c9abc, but perhaps there's something I don't understand going on here.
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 7eccca4a7..75920f6a6 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -837,7 +837,7 @@ class Backend:
outdir = self.get_target_dir(target)
if absolute_outputs:
source_root = self.environment.get_source_dir()
- build_root = self.environment.get_source_dir()
+ build_root = self.environment.get_build_dir()
outdir = os.path.join(self.environment.get_build_dir(), outdir)
outputs = []
for i in target.get_outputs():