[3.9] bpo-43788: Generate version specific _ssl_data.h (GH-25300) (GH-25310)

(cherry picked from commit 150af75432)

Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
Christian Heimes 2021-04-09 18:34:39 +02:00 committed by GitHub
parent 54d89a33e0
commit 299ae9c7a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 15092 additions and 83 deletions

View file

@ -2351,8 +2351,13 @@ class PyBuildExt(build_ext):
include_dirs=openssl_includes,
library_dirs=openssl_libdirs,
libraries=openssl_libs,
depends=['socketmodule.h', '_ssl/debughelpers.c'])
)
depends=[
'socketmodule.h',
'_ssl/debughelpers.c',
'_ssl_data.h',
'_ssl_data_111.h',
'_ssl_data_300.h',
]))
else:
self.missing.append('_ssl')