summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/python.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-08-04 19:26:42 +0200
committerDylan Baker <dylan@pnwbakers.com>2025-10-06 14:44:31 -0700
commitc6814b7cd54907128a4fb65159ed054b683157db (patch)
tree13aeaa8ca7ce57bcf60c241bdfc4f2774c27d8bc /mesonbuild/dependencies/python.py
parent23828ced6810955e108aadd4ceb5fbf9c5965421 (diff)
downloadmeson-c6814b7cd54907128a4fb65159ed054b683157db.tar.gz
options: replace get_value with get_value_for
The two methods are identical. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/dependencies/python.py')
-rw-r--r--mesonbuild/dependencies/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py
index d2d9809dc..5c5ed384f 100644
--- a/mesonbuild/dependencies/python.py
+++ b/mesonbuild/dependencies/python.py
@@ -397,7 +397,7 @@ class _PythonDependencyBase(_Base):
is_debug_build = debug or buildtype == 'debug'
vscrt_debug = False
if OptionKey('b_vscrt') in self.env.coredata.optstore:
- vscrt = self.env.coredata.optstore.get_value('b_vscrt')
+ vscrt = self.env.coredata.optstore.get_value_for('b_vscrt')
if vscrt in {'mdd', 'mtd', 'from_buildtype', 'static_from_buildtype'}:
vscrt_debug = True
if is_debug_build and vscrt_debug and not self.variables.get('Py_DEBUG'):