aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/munstable_coredata.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/munstable_coredata.py')
-rw-r--r--mesonbuild/munstable_coredata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/munstable_coredata.py b/mesonbuild/munstable_coredata.py
index 5463f16..0ca8f33 100644
--- a/mesonbuild/munstable_coredata.py
+++ b/mesonbuild/munstable_coredata.py
@@ -14,7 +14,7 @@
from . import coredata as cdata
-from .mesonlib import MachineChoice
+from .mesonlib import MachineChoice, OptionKey
import os.path
import pprint
@@ -59,7 +59,7 @@ def run(options):
print('')
coredata = cdata.load(options.builddir)
- backend = coredata.get_builtin_option('backend')
+ backend = coredata.get_option(OptionKey('backend'))
for k, v in sorted(coredata.__dict__.items()):
if k in ('backend_options', 'base_options', 'builtins', 'compiler_options', 'user_options'):
# use `meson configure` to view these