diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-14 19:25:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-14 19:25:18 +0300 |
| commit | ce889d68706092159dfc4802301d01ff023f05a4 (patch) | |
| tree | 26897128a813829821d1ad714a9f19d085c9e95e /mesonbuild/modules/python.py | |
| parent | 0352c900bc33ae2796d1e0881986f2163b7e256d (diff) | |
| parent | 181c3499fde491650269c236ea639c92f10c6914 (diff) | |
| download | meson-ce889d68706092159dfc4802301d01ff023f05a4.tar.gz | |
Merge pull request #13307 from mesonbuild/optstorerefactor
Convert OptionStore from a dict to a full class with named methods
Diffstat (limited to 'mesonbuild/modules/python.py')
| -rw-r--r-- | mesonbuild/modules/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index e84bee187..013723da0 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -207,7 +207,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.get_value('debug') if is_debug: new_link_args.append(python_windows_debug_link_exception) else: |
