summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/msvccompiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/msvccompiler.py')
-rw-r--r--Lib/distutils/msvccompiler.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py
index bf5257f..7324b8e 100644
--- a/Lib/distutils/msvccompiler.py
+++ b/Lib/distutils/msvccompiler.py
@@ -307,7 +307,9 @@ class MSVCCompiler (CCompiler) :
self._fix_link_args (objects, output_dir, takes_libs=1,
libraries=libraries, library_dirs=library_dirs)
- lib_opts = gen_lib_options (self, library_dirs, libraries)
+ lib_opts = gen_lib_options (self,
+ library_dirs, self.runtime_library_dirs,
+ libraries)
if type (output_dir) not in (StringType, NoneType):
raise TypeError, "'output_dir' must be a string or None"
if output_dir is not None:
@@ -348,6 +350,10 @@ class MSVCCompiler (CCompiler) :
def library_dir_option (self, dir):
return "/LIBPATH:" + dir
+ def runtime_library_dir_option (self, dir):
+ raise DistutilsPlatformError, \
+ "don't know how to set runtime library search path for MSVC++"
+
def library_option (self, lib):
return self.library_filename (lib)