]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added 'debug' flag to 'find_library_file()'.
authorGreg Ward <gward@python.net>
Fri, 4 Aug 2000 01:28:39 +0000 (01:28 +0000)
committerGreg Ward <gward@python.net>
Fri, 4 Aug 2000 01:28:39 +0000 (01:28 +0000)
Lib/distutils/ccompiler.py
Lib/distutils/unixccompiler.py

index d8d8ab916c3b4fa6ad5f1ba136d5dba07e4469b4..141af796a0f79a9b1f28a4c2d8b44f4718188abf 100644 (file)
@@ -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
 
index 799560c3963033ea35a21f0924c67b5d4b262c0e..9339850102a1bd43b856d764f93e6cabb1d00fb4 100644 (file)
@@ -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 (