--- a/src/_cffi_src/build_openssl.py +++ b/src/_cffi_src/build_openssl.py @@ -38,7 +38,7 @@ def _get_openssl_libraries(platform): if sys.platform == "zos": return ["ssl", "crypto"] else: - return ["ssl", "crypto", "pthread"] + return ["ssl", "crypto", "python@PYTHON_VERSION@"] def _extra_compile_args(platform):