diff options
Diffstat (limited to 'mesonbuild/build.py')
-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 cb295bb..3e7911f 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -550,7 +550,7 @@ class EnvironmentVariables(HoldableObject): curr = env.get(name) return separator.join(values if curr is None else values + [curr]) - def get_env(self, full_env: T.Dict[str, str]) -> T.Dict[str, str]: + def get_env(self, full_env: T.MutableMapping[str, str]) -> T.Dict[str, str]: env = full_env.copy() for method, name, values, separator in self.envvars: env[name] = method(env, name, values, separator) |