bpo-43788: Generate version specific _ssl_data.h (GH-25300)
Signed-off-by: Christian Heimes <christian@python.org>
Automerge-Triggered-By: GH:tiran
diff --git a/setup.py b/setup.py
index d011936..253053d 100644
--- a/setup.py
+++ b/setup.py
@@ -2467,7 +2467,13 @@ def split_var(name, sep):
Extension(
'_ssl',
['_ssl.c'],
- depends=['socketmodule.h', '_ssl/debughelpers.c'],
+ depends=[
+ 'socketmodule.h',
+ '_ssl/debughelpers.c',
+ '_ssl_data.h',
+ '_ssl_data_111.h',
+ '_ssl_data_300.h',
+ ],
**openssl_extension_kwargs
)
)