From d4af5faf3e801f209d61d09fec8676502f7d624d Mon Sep 17 00:00:00 2001 From: Nick <0xb000@gmail.com> Date: Tue, 26 Nov 2024 12:21:39 +0200 Subject: [PATCH] Fix ugly path after path join with the empty dirname --- 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 55a8b9968b61..5c03c715720e 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1718,7 +1718,7 @@ def generate_single_build_target(self, objects_dict, target_name, target) -> Non langname = LANGNAMEMAP[lang] langargs.setdefault(langname, []) langargs[langname] = cargs + cti_args + args - symroot = os.path.join(self.environment.get_build_dir(), target.subdir) + symroot = os.path.join(self.environment.get_build_dir(), target.subdir).rstrip('/') bt_dict = PbxDict() objects_dict.add_item(valid, bt_dict, buildtype) bt_dict.add_item('isa', 'XCBuildConfiguration')