diff --git a/tools/building.py b/tools/building.py index ad5df12bcce9dc69ae02b44ff54a8620b2e61941..caa48d96ae90e0053712b7428fc21926c611ee61 100644 --- a/tools/building.py +++ b/tools/building.py @@ -29,7 +29,7 @@ class Win32Spawn: cmdline = cmd + " " + newargs # Make sure the env is constructed by strings - _e = {k: str(v) for k, v in env.items()} + _e = dict([(k, str(v)) for k, v in env.items()]) # Windows(tm) CreateProcess does not use the env passed to it to find # the executables. So we have to modify our own PATH to make Popen