summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Environment.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-02-07 13:19:34 (GMT)
committerSteven Knight <knight@baldmt.com>2004-02-07 13:19:34 (GMT)
commit18876ab2a7399e97fa1663b64d917fbfeba57cca (patch)
treeca0d5cfe3d4b8e20fb05bcea0707a69aa1c2d64f /src/engine/SCons/Environment.py
parent7db087e4c1efd7c5029befea03f904a6f0d21a44 (diff)
downloadSCons-18876ab2a7399e97fa1663b64d917fbfeba57cca.zip
SCons-18876ab2a7399e97fa1663b64d917fbfeba57cca.tar.gz
SCons-18876ab2a7399e97fa1663b64d917fbfeba57cca.tar.bz2
Move the __env__ construction variable into the Environment itself, not created in the subst_dict each time.
Diffstat (limited to 'src/engine/SCons/Environment.py')
-rw-r--r--src/engine/SCons/Environment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py
index 43cb2c3..46897ef 100644
--- a/src/engine/SCons/Environment.py
+++ b/src/engine/SCons/Environment.py
@@ -218,6 +218,7 @@ class Base:
self.lookup_list = SCons.Node.arg2nodes_lookups
self._dict = our_deepcopy(SCons.Defaults.ConstructionEnvironment)
+ self._dict['__env__'] = self
self._dict['BUILDERS'] = BuilderDict(self._dict['BUILDERS'], self)
if platform is None: