aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-04-05 16:23:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-04-05 16:23:03 +0300
commit1dd2bbaa01c4f9b32be2a7d622db9e2e3a549d98 (patch)
tree4f70f754187ef638f8d9de9e6f7a1afd747e0732
parent3c3146195bb4aee67f813c299dac9d43af5203e2 (diff)
downloadmeson-1dd2bbaa01c4f9b32be2a7d622db9e2e3a549d98.zip
meson-1dd2bbaa01c4f9b32be2a7d622db9e2e3a549d98.tar.gz
meson-1dd2bbaa01c4f9b32be2a7d622db9e2e3a549d98.tar.bz2
LGTM fix.xcodewarnopt
-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 4b6e047..999378f 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -916,7 +916,7 @@ class XCodeBackend(backends.Backend):
confs_arr = PbxArray()
conf_dict.add_item('buildConfigurations', confs_arr)
for buildtype in self.buildtypes:
- confs_arr.add_item(self.project_configurations[self.buildtype], self.buildtype)
+ confs_arr.add_item(self.project_configurations[buildtype], buildtype)
conf_dict.add_item('defaultConfigurationIsVisible', 0)
conf_dict.add_item('defaultConfigurationName', self.buildtype)