diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-03-12 19:05:58 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-03-12 19:05:58 +0000 |
commit | ad2e2a4a6d94f7ca08a29b6e613a7ced2a0fd2ab (patch) | |
tree | 8fb6d544143db215df10fa570b6a323948e10cef | |
parent | a7a5a20fca4af6b548dc7d9f802daa5f81d5b72e (diff) | |
download | cpython-ad2e2a4a6d94f7ca08a29b6e613a7ced2a0fd2ab.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-- | Lib/distutils/msvccompiler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index 8106df6177..b94d35f15f 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -255,6 +255,7 @@ class MSVCCompiler (CCompiler) : ] self.ldflags_static = [ '/nologo'] + self.initialized = True # -- Worker methods ------------------------------------------------ |