summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2005-03-12 19:05:58 +0000
committerTim Peters <tim.peters@gmail.com>2005-03-12 19:05:58 +0000
commit8992c0187b1cbc5bf26aa8c686421d0b81e55e4c (patch)
tree76b627c42f150bcf79f4ffbb5286ce81de8dcb98
parent891c7ebce5c207c73bfcf79ecd51d58ee8fab395 (diff)
downloadpython-setuptools-git-8992c0187b1cbc5bf26aa8c686421d0b81e55e4c.tar.gz
Port bugfix from 2.4 maint.
Bug #1160802: Can't build Zope on Windows w/ 2.4.1c1. MSVCCompiler.initialize(): set self.initialized to True, as suggested by AMK. Else we keep growing the PATH endlessly, with each new C extension built, until putenv() complains. No change to NEWS because the patch that created this bug is also new for 2.5a1 (so there's no change here to any code yet released from HEAD).
-rw-r--r--msvccompiler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/msvccompiler.py b/msvccompiler.py
index 8106df61..b94d35f1 100644
--- a/msvccompiler.py
+++ b/msvccompiler.py
@@ -255,6 +255,7 @@ class MSVCCompiler (CCompiler) :
]
self.ldflags_static = [ '/nologo']
+ self.initialized = True
# -- Worker methods ------------------------------------------------