[Distutils] Distuils MSVC link failure between libraries

P philip.deegan at gmail.com
Thu Aug 10 12:30:43 EDT 2017

Hi there,

I'm trying to create multiple C++ extensions that have dependencies between

This works fine on Linux with gcc, but I get link failures on Windows with
MSVC due to this

"*IMPLIB*" is an optional argument, when not specified, the generation of
exp/lib files default to the same filename and directory as the dll.

If precompiled extensions are to be published with MSVC and expected to be
linked against (maybe this is not recommended?) the lib files are required
so it seems a bit peculiar to me to not have them with the dll as is the
default behavior.

Proof of concept

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170810/2df3161b/attachment.html>

More information about the Distutils-SIG mailing list