Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95b1cf6

Browse files
author
Hirokazu Yamamoto
committed
Merged revisions 65667 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r65667 | hirokazu.yamamoto | 2008-08-14 14:50:43 +0900 | 1 line Fixed test_distutils error (test_build_ext) on VC6. ........
1 parent 3a954da commit 95b1cf6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Lib/distutils/command/build_ext.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,12 @@ def finalize_options(self):
205205
elif MSVC_VERSION == 8:
206206
self.library_dirs.append(os.path.join(sys.exec_prefix,
207207
'PC', 'VS8.0', 'win32release'))
208-
else:
208+
elif MSVC_VERSION == 7:
209209
self.library_dirs.append(os.path.join(sys.exec_prefix,
210210
'PC', 'VS7.1'))
211+
else:
212+
self.library_dirs.append(os.path.join(sys.exec_prefix,
213+
'PC', 'VC6'))
211214

212215
# OS/2 (EMX) doesn't support Debug vs Release builds, but has the
213216
# import libraries in its "Config" subdirectory

0 commit comments

Comments
 (0)