diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-02-06 13:53:40 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-02-11 12:50:32 -0800 |
commit | b5d847e38c90292af351ff4aa99cef0300886660 (patch) | |
tree | 0c81d8195ea2647ce41139010d27d390e2ca6e36 /mesonbuild/environment.py | |
parent | 5b896ed70bbf18e633bbeca442c90610e3d66a22 (diff) | |
download | meson-b5d847e38c90292af351ff4aa99cef0300886660.zip meson-b5d847e38c90292af351ff4aa99cef0300886660.tar.gz meson-b5d847e38c90292af351ff4aa99cef0300886660.tar.bz2 |
allow paths to be set in the cross file
Just like the previous patch, but for cross files
Fixes #1433
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 1 |
1 files changed, 1 insertions, 0 deletions
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() |