diff options
| author | Greg Ward <gward@python.net> | 2000-08-04 01:28:39 (GMT) |
|---|---|---|
| committer | Greg Ward <gward@python.net> | 2000-08-04 01:28:39 (GMT) |
| commit | e5e6015e5a888b62b65e049783ed623678e51240 (patch) | |
| tree | 10eed01d16e2d1eca5c66ebaa3f9ceda7020c9d7 /Lib/distutils/ccompiler.py | |
| parent | d9827c476c5047f859d7aa2f409fa5b0acb405dc (diff) | |
| download | cpython-e5e6015e5a888b62b65e049783ed623678e51240.zip cpython-e5e6015e5a888b62b65e049783ed623678e51240.tar.gz cpython-e5e6015e5a888b62b65e049783ed623678e51240.tar.bz2 | |
Added 'debug' flag to 'find_library_file()'.
Diffstat (limited to 'Lib/distutils/ccompiler.py')
| -rw-r--r-- | Lib/distutils/ccompiler.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index d8d8ab9..141af79 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -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 |
