[Python-checkins] r65667 - python/trunk/Lib/distutils/command/build_ext.py

hirokazu.yamamoto python-checkins at python.org
Thu Aug 14 07:50:43 CEST 2008


Author: hirokazu.yamamoto
Date: Thu Aug 14 07:50:43 2008
New Revision: 65667

Log:
Fixed test_disutils error (test_build_ext) on VC6.

Modified:
   python/trunk/Lib/distutils/command/build_ext.py

Modified: python/trunk/Lib/distutils/command/build_ext.py
==============================================================================
--- python/trunk/Lib/distutils/command/build_ext.py	(original)
+++ python/trunk/Lib/distutils/command/build_ext.py	Thu Aug 14 07:50:43 2008
@@ -209,9 +209,12 @@
             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


More information about the Python-checkins mailing list