From 126db6de129cf04b64b7b9a1f4486f7171d26ad0 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 17 Apr 2021 18:57:36 +0300 Subject: Xcode: fix running commands that lie in the build root dir. --- mesonbuild/backend/xcodebackend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild/backend/xcodebackend.py') diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index bcb17b1..606469a 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1002,9 +1002,9 @@ class XCodeBackend(backends.Backend): for tname, t in self.custom_targets.items(): if not isinstance(t, build.CustomTarget): continue - (srcs, ofilenames, cmd) = self.eval_custom_target_command(t) + (srcs, ofilenames, cmd) = self.eval_custom_target_command(t, absolute_outputs=True) fixed_cmd, _ = self.as_meson_exe_cmdline(t.name, - t.command[0], + cmd[0], cmd[1:], #workdir=None, env=t.env) -- cgit v1.1