From d17ce4ffd0b36192aa728bebbf0f29661f472b62 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 14 Jun 2018 13:56:42 +0100 Subject: [PATCH] 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. --- mesonbuild/backend/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():