From 96d85d601d84a23c6e4a7ca50cd02dc6b0bf5a09 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 12 Apr 2021 18:22:49 +0300 Subject: Xcode: fix path of extracted objects in subdirs. --- mesonbuild/backend/xcodebackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/backend') diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 47950f2..1ad7a69 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1077,7 +1077,7 @@ class XCodeBackend(backends.Backend): if isinstance(o, build.ExtractedObjects): added_objs = set() for objname_rel in o.get_outputs(self): - objname_abs = os.path.join(self.environment.get_build_dir(), objname_rel) + objname_abs = os.path.join(self.environment.get_build_dir(), o.target.subdir, objname_rel) if objname_abs not in added_objs: added_objs.add(objname_abs) ldargs += [r'\"' + objname_abs + r'\"'] -- cgit v1.1