From 5b896ed70bbf18e633bbeca442c90610e3d66a22 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 7 Jan 2019 13:47:27 -0800 Subject: 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. --- mesonbuild/ast/introspection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/ast/introspection.py') 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'] -- cgit v1.1