From 79cd60253cfd637696dc93eb37144d22f33f1835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Mon, 18 Mar 2024 22:50:12 +0100 Subject: [PATCH] xcode: Fix custom target output dir logic for is_build_only --- mesonbuild/backend/xcodebackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 79aa83ec7914..41d7c6dc3c9a 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -226,7 +226,7 @@ def get_target_dir(self, target: T.Union[build.Target, build.CustomTargetIndex]) return dirname def get_custom_target_output_dir(self, target: T.Union[build.Target, build.CustomTargetIndex]) -> str: - dirname = target.get_source_subdir() + dirname = target.get_output_subdir() os.makedirs(os.path.join(self.environment.get_build_dir(), dirname), exist_ok=True) return dirname