Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-99942: correct the pkg-config/python-config flags for cygwin…
…/android On shared build configurations, Cygwin and Android need to link to libpython. See bpo-21536. This was corrected in distutils with an explicit check to only link when libpython is built shared, but implemented in configure.ac unconditionally. The correct approach is to follow distutils, which includes a comment regarding why: - on Android, a shared libpython is RTLD_LOCAL, and thus available only to the main executable, not exported to loaded modules, but a static libpython *is* the main executable and thus exported
- Loading branch information