Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
e989444d
Commit
e989444d
authored
Aug 04, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 'debug' flag to 'find_library_file()'.
parent
a509be9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ccompiler.py
ccompiler.py
+5
-3
unixccompiler.py
unixccompiler.py
+1
-1
No files found.
ccompiler.py
View file @
e989444d
...
...
@@ -682,10 +682,12 @@ class CCompiler:
"""
raise
NotImplementedError
def
find_library_file
(
self
,
dirs
,
lib
):
def
find_library_file
(
self
,
dirs
,
lib
,
debug
=
0
):
"""Search the specified list of directories for a static or shared
library file 'lib' and return the full path to that file. Return
None if it wasn't found in any of the specified directories.
library file 'lib' and return the full path to that file. If
'debug' true, look for a debugging version (if that makes sense on
the current platform). Return None if 'lib' wasn't found in any of
the specified directories.
"""
raise
NotImplementedError
...
...
unixccompiler.py
View file @
e989444d
...
...
@@ -317,7 +317,7 @@ class UnixCCompiler (CCompiler):
return
"-l"
+
lib
def
find_library_file
(
self
,
dirs
,
lib
):
def
find_library_file
(
self
,
dirs
,
lib
,
debug
=
0
):
for
dir
in
dirs
:
shared
=
os
.
path
.
join
(
...
...
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