summaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-03-10 15:51:58 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2025-04-02 23:02:17 +0300
commit7f1614494df8a1d5d11bb7505a95f1db9aa53f10 (patch)
tree2a0d94f02e7579aafbfe5dd32d377fc80c42a15d /mesonbuild/environment.py
parent3829b6f599c902dbf97130015d44a4daff11eefe (diff)
downloadmeson-7f1614494df8a1d5d11bb7505a95f1db9aa53f10.tar.gz
option: move the `is_per_machine_option` to the `OptionStore`
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 9d0677446..12f94bbd4 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -663,7 +663,7 @@ class Environment:
# Keep only per machine options from the native file. The cross
# file takes precedence over all other options.
for key, value in list(self.options.items()):
- if self.coredata.is_per_machine_option(key):
+ if self.coredata.optstore.is_per_machine_option(key):
self.options[key.as_build()] = value
self._load_machine_file_options(config, properties.host, MachineChoice.HOST)