Commit 2ee077f7 authored by xdegaye's avatar xdegaye Committed by Miss Islington (bot)

bpo-36544 : Fix regression introduced in bpo-36146 (GH-12708)



https://bugs.python.org/issue36544
parent 56065d4c
Fix regression introduced in bpo-36146 refactoring setup.py
...@@ -1642,6 +1642,7 @@ class PyBuildExt(build_ext): ...@@ -1642,6 +1642,7 @@ class PyBuildExt(build_ext):
self.detect_crypt() self.detect_crypt()
self.detect_socket() self.detect_socket()
self.detect_openssl_hashlib() self.detect_openssl_hashlib()
self.detect_hash_builtins()
self.detect_dbm_gdbm() self.detect_dbm_gdbm()
self.detect_sqlite() self.detect_sqlite()
self.detect_platform_specific_exts() self.detect_platform_specific_exts()
...@@ -2184,6 +2185,7 @@ class PyBuildExt(build_ext): ...@@ -2184,6 +2185,7 @@ class PyBuildExt(build_ext):
library_dirs=openssl_libdirs, library_dirs=openssl_libdirs,
libraries=openssl_libs)) libraries=openssl_libs))
def detect_hash_builtins(self):
# We always compile these even when OpenSSL is available (issue #14693). # We always compile these even when OpenSSL is available (issue #14693).
# It's harmless and the object code is tiny (40-50 KiB per module, # It's harmless and the object code is tiny (40-50 KiB per module,
# only loaded when actually used). # only loaded when actually used).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment