Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3ec92a65
Commit
3ec92a65
authored
Jan 17, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix library filename methods -- there is no 'lib' prefix under DOS/Windows.
parent
97c276a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
Lib/distutils/msvccompiler.py
Lib/distutils/msvccompiler.py
+2
-5
No files found.
Lib/distutils/msvccompiler.py
View file @
3ec92a65
...
@@ -202,18 +202,15 @@ class MSVCCompiler (CCompiler) :
...
@@ -202,18 +202,15 @@ class MSVCCompiler (CCompiler) :
specified source filename."""
specified source filename."""
return
self
.
_change_extensions
(
source_filenames
,
self
.
_shared_lib_ext
)
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
):
def
library_filename
(
self
,
libname
):
"""Return the static library filename corresponding to the
"""Return the static library filename corresponding to the
specified library name."""
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
):
def
shared_library_filename
(
self
,
libname
):
"""Return the shared library filename corresponding to the
"""Return the shared library filename corresponding to the
specified library name."""
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
):
def
library_dir_option
(
self
,
dir
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment