Andi Vajda <va...@apache.org> wrote:

> 
> On Thu, 18 Mar 2010, Bill Janssen wrote:
> 
> > Hmmm, setuptools doesn't seem to know to automatically build the jcc.lib
> > file when using mingw32.
> 
> You might need to change the platform test there to include the 'mingw32' 
> value or add the specific code to do this next to the 'win32' case.
> 
> If you don't, then just kwds["extra_link_args"] = lflags is done.
> 
> Andi..

OK, I'll add the link flags in setup.py, and send you a patch against
the trunk.

I've still got to manually copy the .lib file in order to build
PyLucene, but otherwise it seems to work.  I'm working on getting the
.lib file automatically in the right place.

I'll send you a patch for the PyLucene Makefile to add this build case
to the list, as well.

I notice that the HTML documentation file for JCC doesn't mention the
--compiler flag, but it is in the docstring generated for the jcc
module.

Bill

Reply via email to