bpo-32598: Use autoconf to detect usable OpenSSL#5242
Merged
tiran merged 1 commit intopython:masterfrom Jan 20, 2018
Merged
Conversation
978906b to
c4ae7c2
Compare
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 <[email protected]>
c4ae7c2 to
e19151e
Compare
Member
Author
|
The PR does not use |
asvetlov
approved these changes
Jan 20, 2018
yan12125
added a commit
to yan12125/python3-android
that referenced
this pull request
Jun 16, 2018
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
Mar 14, 2022
- 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 [email protected]
https://bugs.python.org/issue32598