aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-05-09 22:24:49 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-05-10 12:30:47 +0200
commit9565293f16c43056433c797d441eb2a2a0e25a46 (patch)
tree853c6947a81545e751bd78f26f8f20e2c27b009e /mesonbuild
parent0dd46358422556d599305c68bd19fe97734ddd9d (diff)
downloadmeson-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.py2
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