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
04ca1902
Commit
04ca1902
authored
Jul 27, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to call 'library_filename()' instead of the non-existent
'shared_library_filename()'.
parent
95437400
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Lib/distutils/unixccompiler.py
Lib/distutils/unixccompiler.py
+5
-3
No files found.
Lib/distutils/unixccompiler.py
View file @
04ca1902
...
...
@@ -205,7 +205,7 @@ class UnixCCompiler (CCompiler):
self
.
link_shared_object
(
objects
,
self
.
shared_library_filename
(
output_libname
),
self
.
library_filename
(
output_libname
,
lib_type
=
'shared'
),
output_dir
,
libraries
,
library_dirs
,
...
...
@@ -320,8 +320,10 @@ class UnixCCompiler (CCompiler):
def
find_library_file
(
self
,
dirs
,
lib
):
for
dir
in
dirs
:
shared
=
os
.
path
.
join
(
dir
,
self
.
shared_library_filename
(
lib
))
static
=
os
.
path
.
join
(
dir
,
self
.
library_filename
(
lib
))
shared
=
os
.
path
.
join
(
dir
,
self
.
library_filename
(
lib
,
lib_type
=
'shared'
))
static
=
os
.
path
.
join
(
dir
,
self
.
library_filename
(
lib
,
lib_type
=
'static'
))
# We're second-guessing the linker here, with not much hard
# data to go on: GCC seems to prefer the shared library, so I'm
...
...
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