
Now that you mention it, that does sound familiar ;) Nevertheless, when I started trying to use the Distutils-0.8 distro to build my Python extension under Windows it came up with numerous unresolved symbols (Python library calls) until I used this modification to actually list python15.lib (or python15_d.lib) on the link line. I'll investigate this some more today to see if I can figure out what's going wrong here.
-----Original Message----- From: Thomas Heller [mailto:thomas.heller@ion-tof.com] Sent: Thursday, April 13, 2000 3:05 AM To: Lyle Johnson; distutils-sig@python.org Subject: Re: [Distutils] Patch for msvccompiler.py (Win32)
Here's a patch for distutils/msvccompiler.py to ensure that the appropriate Python import library (e.g. "python15.lib" or "python15_d.lib") is linked in with your extension DLL on Windows. I never had any problems with this: the Python header files ensure this by a pragma. You (or distutils) don't have to care about this.
Thomas Heller