diff options
| author | Steven Knight <knight@baldmt.com> | 2003-04-10 05:35:38 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2003-04-10 05:35:38 (GMT) |
| commit | 2f8be7360679ad5e0260f4965ea5dd9506c7b033 (patch) | |
| tree | 1379c046e82985011c5ab2d7604adf055e3140b9 /src/engine/SCons/Environment.py | |
| parent | 81e5793a07783b29a13004f834b7579a0e1605bb (diff) | |
| download | SCons-2f8be7360679ad5e0260f4965ea5dd9506c7b033.zip SCons-2f8be7360679ad5e0260f4965ea5dd9506c7b033.tar.gz SCons-2f8be7360679ad5e0260f4965ea5dd9506c7b033.tar.bz2 | |
Implement Tool refactoring. (Chad Austin + Steve Leblanc)
Diffstat (limited to 'src/engine/SCons/Environment.py')
| -rw-r--r-- | src/engine/SCons/Environment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py index 37182c4..e3d29eb 100644 --- a/src/engine/SCons/Environment.py +++ b/src/engine/SCons/Environment.py @@ -191,6 +191,7 @@ class Environment: if SCons.Util.is_String(platform): platform = SCons.Platform.Platform(platform) + self._dict['PLATFORM'] = str(platform) platform(self) # Apply the passed-in variables before calling the tools, @@ -207,7 +208,7 @@ class Environment: for tool in tools: if SCons.Util.is_String(tool): tool = SCons.Tool.Tool(tool) - tool(self, platform) + tool(self) # Reapply the passed in variables after calling the tools, # since they should overide anything set by the tools: |
