aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/introspection.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-01-07 13:47:27 -0800
committerDylan Baker <dylan@pnwbakers.com>2019-02-11 12:50:32 -0800
commit5b896ed70bbf18e633bbeca442c90610e3d66a22 (patch)
tree1205d983b474f4e97eb596769f410cc6ffc399d6 /mesonbuild/ast/introspection.py
parentb50899419cb2de27af34e5a955695a61c2863c51 (diff)
downloadmeson-5b896ed70bbf18e633bbeca442c90610e3d66a22.zip
meson-5b896ed70bbf18e633bbeca442c90610e3d66a22.tar.gz
meson-5b896ed70bbf18e633bbeca442c90610e3d66a22.tar.bz2
allow setting directory locations in a native file
This allows the person running configure (either a developer, user, or distro maintainer) to keep a configuration of where various kinds of files should end up.
Diffstat (limited to 'mesonbuild/ast/introspection.py')
-rw-r--r--mesonbuild/ast/introspection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py
index 5d0ec5a..4a03e98 100644
--- a/mesonbuild/ast/introspection.py
+++ b/mesonbuild/ast/introspection.py
@@ -86,7 +86,7 @@ class IntrospectionInterpreter(AstInterpreter):
self.project_default_options = mesonlib.stringlistify(def_opts)
self.project_default_options = cdata.create_options_dict(self.project_default_options)
self.default_options.update(self.project_default_options)
- self.coredata.set_default_options(self.default_options, self.subproject, self.environment.cmd_line_options)
+ self.coredata.set_default_options(self.default_options, self.subproject, self.environment)
if not self.is_subproject() and 'subproject_dir' in kwargs:
spdirname = kwargs['subproject_dir']