[Python-checkins] CVS: distutils/distutils unixccompiler.py,1.28,1.29

Greg Ward python-dev@python.org
Wed, 26 Jul 2000 18:23:23 -0700


Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv16170

Modified Files:
	unixccompiler.py 
Log Message:
Fix to call 'library_filename()' instead of the non-existent
'shared_library_filename()'.

Index: unixccompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/unixccompiler.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** unixccompiler.py	2000/06/28 01:29:09	1.28
--- unixccompiler.py	2000/07/27 01:23:19	1.29
***************
*** 206,210 ****
          self.link_shared_object (
              objects,
!             self.shared_library_filename (output_libname),
              output_dir,
              libraries,
--- 206,210 ----
          self.link_shared_object (
              objects,
!             self.library_filename (output_libname, lib_type='shared'),
              output_dir,
              libraries,
***************
*** 321,326 ****
  
          for dir in dirs:
!             shared = os.path.join (dir, self.shared_library_filename (lib))
!             static = os.path.join (dir, self.library_filename (lib))
  
              # We're second-guessing the linker here, with not much hard
--- 321,328 ----
  
          for dir in dirs:
!             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