[Distutils] Absolute path library names

Greg Ward gward@python.net
Wed, 26 Jul 2000 21:11:47 -0400


On 12 July 2000, Rene Liebscher said:
> It is not a missing function, it is only a wrong piece of code.
> It should look like this:
> --- distutils.orig/distutils/unixccompiler.py   Wed Jun 28 03:29:09 2000
> +++ distutils.patched/distutils/unixccompiler.py        Wed Jul 12
> 15:29:21 2000
> @@ -320,7 +320,7 @@
>      def find_library_file (self, dirs, lib):
>  
>          for dir in dirs:
> -            shared = os.path.join (dir, self.shared_library_filename
> (lib))
> +            shared = os.path.join (dir, self.library_filename
> (lib,'shared'))
>              static = os.path.join (dir, self.library_filename (lib))

That's only half of it -- you forgot to grep for the other place where I 
made this mistake!  ;-)  (Hint: same file, different place.)

...there, I've fixed 'em both.  Will checkin shortly.

        Greg
-- 
Greg Ward - just another /P(erl|ython)/ hacker          gward@python.net
http://starship.python.net/~gward/
War is Peace; Freedom is Slavery; Ignorance is Knowledge