Bill Janssen <jans...@parc.com> wrote: > Bill Janssen <jans...@parc.com> wrote: > > > I see some code in distutils.cygwinccompiler that seems to point the > > way. In the twisted world of Distutils/Setuptools, the way you address > > issues like this is to generate a subclass of, in this case, > > distutils.cygwincompiler.Mingw32CCompiler, and then monkeypatch > > disutils.cygwincompiler so that your subclass becomes the actual class. > > OK, I tried this, and it seems to work. jcc.lib is created, and installed > in the same place that jcc.dll is installed. > > But jcc/_jcc.lib is also created; the link command doesn't distinguish > between extensions and libraries. That's not a problem, but it is ugly.
I can fix that by only generating .lib for .dll output files. Bill