bpo-32598: Use autoconf to detect usable OpenSSL by tiran · Pull Request #5242 · python/cpython
tiran
changed the title
Use autoconf to detect usable OpenSSL
bpo-32598: Use autoconf to detect usable OpenSSL
Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html to auto-detect compiler flags, linker flags and libraries to compile OpenSSL extensions. The M4 macro uses pkg-config and falls back to manual detection. Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host() and related functions. Refactor setup.py to use new config vars to compile _ssl and _hashlib modules. Signed-off-by: Christian Heimes <christian@python.org>
tiran
mentioned this pull request
tiran
deleted the
openssl_autoconf
branch
yan12125 pushed a commit to yan12125/python3-android that referenced this pull request
And add pkg-config settings to fix the _ssl module on CPython. As a side note, since python/cpython#5242, pkg-config should be correctly set up to find non-common OpenSSL paths.
erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request
- macosx_sdk_specified (removed in this PR) - find_library_functions (removed in python#5242)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters