summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-06-08 23:16:36 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-06-14 17:19:53 +0300
commitc0d86024f5e647858f88bc400b45b3ad88a25c97 (patch)
treeb6384fe1f810a32c5276bf4bd8b8c641505d8157 /mesonbuild/modules/python.py
parent2b1510d7068747541f8d49ba876570d62fde5d0e (diff)
downloadmeson-c0d86024f5e647858f88bc400b45b3ad88a25c97.tar.gz
Rename option variable to optstore to make it unique.
Diffstat (limited to 'mesonbuild/modules/python.py')
-rw-r--r--mesonbuild/modules/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
index d195a3fa5..3f7affe5e 100644
--- a/mesonbuild/modules/python.py
+++ b/mesonbuild/modules/python.py
@@ -205,7 +205,7 @@ class PythonInstallation(_ExternalProgramHolder['PythonExternalProgram']):
new_link_args = mesonlib.extract_as_list(kwargs, 'link_args')
- is_debug = self.interpreter.environment.coredata.options[OptionKey('debug')].value
+ is_debug = self.interpreter.environment.coredata.optstore[OptionKey('debug')].value
if is_debug:
new_link_args.append(python_windows_debug_link_exception)
else: