mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Fix library filename methods -- there is no 'lib' prefix under DOS/Windows.
This commit is contained in:
parent
c27d800251
commit
c8a95c8d5e
1 changed files with 2 additions and 5 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue