diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-17 18:29:24 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-18 19:19:29 +0300 |
commit | 09d89dfaebb6bda63eff748148be09b6ae2c9d30 (patch) | |
tree | 3d90a9466c2c0423283c5884a69ca2772d7ddaae /mesonbuild/backend/xcodebackend.py | |
parent | fa947e6d7597ef507967f8095e961b84762fae8b (diff) | |
download | meson-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.py | 2 |
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 |