From b5d847e38c90292af351ff4aa99cef0300886660 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 6 Feb 2019 13:53:40 -0800 Subject: allow paths to be set in the cross file Just like the previous patch, but for cross files Fixes #1433 --- mesonbuild/environment.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mesonbuild/environment.py') diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index afa6cd8..b2cc657 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -399,6 +399,7 @@ class Environment: self.machines.host = MachineInfo.from_literal(config['host_machine']) if 'target_machine' in config: self.machines.target = MachineInfo.from_literal(config['target_machine']) + self.paths.host = Directories(**config.get('paths', {})) self.machines.default_missing() self.binaries.default_missing() -- cgit v1.1