summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/msvccompiler.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-01-17 18:00:04 (GMT)
committerGreg Ward <gward@python.net>2000-01-17 18:00:04 (GMT)
commitc8a95c8d5e24202ab561b68b72198d0603a8c708 (patch)
tree21f9514860b088ddd582d4c9274223c7c36c7647 /Lib/distutils/msvccompiler.py
parentc27d80025134ee2ae92557af3b9d6c5496004c88 (diff)
downloadcpython-c8a95c8d5e24202ab561b68b72198d0603a8c708.zip
cpython-c8a95c8d5e24202ab561b68b72198d0603a8c708.tar.gz
cpython-c8a95c8d5e24202ab561b68b72198d0603a8c708.tar.bz2
Fix library filename methods -- there is no 'lib' prefix under DOS/Windows.
Diffstat (limited to 'Lib/distutils/msvccompiler.py')
-rw-r--r--Lib/distutils/msvccompiler.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py
index d93c74c..4845376 100644
--- a/Lib/distutils/msvccompiler.py
+++ b/Lib/distutils/msvccompiler.py
@@ -202,18 +202,15 @@ class MSVCCompiler (CCompiler) :
specified source filename."""
return self._change_extensions( source_filenames, self._shared_lib_ext )
- # XXX ummm... these aren't right, are they? I thought library 'foo' on
- # DOS/Windows was to be found in "foo.lib", not "libfoo.lib"!
-
def library_filename (self, libname):
"""Return the static library filename corresponding to the
specified library name."""
- return "lib%s%s" %( libname, self._static_lib_ext )
+ return "%s%s" %( libname, self._static_lib_ext )
def shared_library_filename (self, libname):
"""Return the shared library filename corresponding to the
specified library name."""
- return "lib%s%s" %( libname, self._shared_lib_ext )
+ return "%s%s" %( libname, self._shared_lib_ext )
def library_dir_option (self, dir):