[issue21536] extension built with a shared python cannot be loaded with a static python
STINNER Victor
report at bugs.python.org
Fri May 24 09:24:29 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
> This completely breaks building extension modules on Windows-based platforms like Cygwin and MinGW, where it is necessary when building even shared libraries for all global symbols to resolvable at link time.
C extensions are always linked to libpython on Android. I'm open to do something similar for Cygwin and/or MinGW if you can come up with a PR :-) See LIBPYTHON variable in configure.ac.
You can use Xavier's change as an example: commit 254b309c801f82509597e3d7d4be56885ef94c11, PR 12989.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21536>
_______________________________________
More information about the Python-bugs-list
mailing list