[Distutils] freebsd .a files
M.-A. Lemburg
mal@lemburg.com
Thu Jan 25 16:17:01 2001
Robin Becker wrote:
>
> In article <3A705090.BFA90C16@lemburg.com>, M.-A. Lemburg
> <mal@lemburg.com> writes
> ....
> >
> >Ah, so you do want to link using the static lib ? This should
> >be possible by placing the 'libgd.a' into the objects option:
> >
> > objects = ['libgd.a']
> >
> OK that's nice, any idea how to create .a (win32 .lib) files using
> distutils. Even my .a files have to be rebuilt.
I don't know how well it works, but the build_clib command
is supposed to support this. The PIL example in the distutils
distribution makes use of this command, AFAIR.
BTW, I think the correct option name is "extra_objects" --
I read the code and didn't try this out.
--
Marc-Andre Lemburg
______________________________________________________________________
Company: http://www.egenix.com/
Consulting: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/