aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-04-17 18:29:24 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-04-18 19:19:29 +0300
commit09d89dfaebb6bda63eff748148be09b6ae2c9d30 (patch)
tree3d90a9466c2c0423283c5884a69ca2772d7ddaae /mesonbuild/backend/xcodebackend.py
parentfa947e6d7597ef507967f8095e961b84762fae8b (diff)
downloadmeson-09d89dfaebb6bda63eff748148be09b6ae2c9d30.zip
meson-09d89dfaebb6bda63eff748148be09b6ae2c9d30.tar.gz
meson-09d89dfaebb6bda63eff748148be09b6ae2c9d30.tar.bz2
Xcode: fix custom target chaining.
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
-rw-r--r--mesonbuild/backend/xcodebackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index bd24bc1..bcb17b1 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -211,7 +211,7 @@ class XCodeBackend(backends.Backend):
return str(uuid.uuid4()).upper().replace('-', '')[:24]
def get_target_dir(self, target):
- dirname = os.path.join(self.environment.coredata.get_option(OptionKey('buildtype')), target.get_subdir())
+ dirname = os.path.join(target.get_subdir(), self.environment.coredata.get_option(OptionKey('buildtype')))
os.makedirs(os.path.join(self.environment.get_build_dir(), dirname), exist_ok=True)
return dirname