mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-30008: Fix OpenSSL no-deprecated compilation (GH-20397)
Fix :mod:`ssl`` code to be compatible with OpenSSL 1.1.x builds that use ``no-deprecated`` and ``--api=1.1.0``. Note: Tests assume full OpenSSL API and fail with limited API. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Mark Wright <gienah@gentoo.org>
This commit is contained in:
parent
2f172d8f15
commit
a871f692b4
3 changed files with 48 additions and 11 deletions
|
@ -314,6 +314,7 @@ class AbstractBuilder(object):
|
|||
"shared", "--debug",
|
||||
"--prefix={}".format(self.install_dir)
|
||||
]
|
||||
# cmd.extend(["no-deprecated", "--api=1.1.0"])
|
||||
env = os.environ.copy()
|
||||
# set rpath
|
||||
env["LD_RUN_PATH"] = self.lib_dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue