diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-05-09 22:24:49 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-05-10 12:30:47 +0200 |
commit | 9565293f16c43056433c797d441eb2a2a0e25a46 (patch) | |
tree | 853c6947a81545e751bd78f26f8f20e2c27b009e /mesonbuild | |
parent | 0dd46358422556d599305c68bd19fe97734ddd9d (diff) | |
download | meson-9565293f16c43056433c797d441eb2a2a0e25a46.zip meson-9565293f16c43056433c797d441eb2a2a0e25a46.tar.gz meson-9565293f16c43056433c797d441eb2a2a0e25a46.tar.bz2 |
test setups: Inherit env when using a test setup
Closes https://github.com/mesonbuild/meson/issues/3525
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 5d1163b..1750661 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -290,7 +290,7 @@ class EnvironmentVariables: return value def get_env(self, full_env): - env = {} + env = full_env.copy() for method, name, values, kwargs in self.envvars: env[name] = method(full_env, name, values, kwargs) return env |