diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2008-08-14 05:50:43 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2008-08-14 05:50:43 (GMT) |
commit | 41a4f4631bd33ff346820d3f5e0d5b068fa98d50 (patch) | |
tree | a5c5fb8eacb78f559b0088643e212e1e5aa75c14 | |
parent | bf3157b8e03f0a661f9f90fa0ab610f03fb2ea89 (diff) | |
download | cpython-41a4f4631bd33ff346820d3f5e0d5b068fa98d50.zip cpython-41a4f4631bd33ff346820d3f5e0d5b068fa98d50.tar.gz cpython-41a4f4631bd33ff346820d3f5e0d5b068fa98d50.tar.bz2 |
Fixed test_distutils error (test_build_ext) on VC6.
-rw-r--r-- | Lib/distutils/command/build_ext.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index beb3319..8cf7888 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -209,9 +209,12 @@ class build_ext (Command): elif MSVC_VERSION == 8: self.library_dirs.append(os.path.join(sys.exec_prefix, 'PC', 'VS8.0', 'win32release')) - else: + elif MSVC_VERSION == 7: self.library_dirs.append(os.path.join(sys.exec_prefix, 'PC', 'VS7.1')) + else: + self.library_dirs.append(os.path.join(sys.exec_prefix, + 'PC', 'VC6')) # OS/2 (EMX) doesn't support Debug vs Release builds, but has the # import libraries in its "Config" subdirectory |