mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
bpo-36544 : Fix regression introduced in bpo-36146 (GH-12708)
https://bugs.python.org/issue36544
This commit is contained in:
parent
56065d4c8a
commit
2ee077f795
2 changed files with 3 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
Fix regression introduced in bpo-36146 refactoring setup.py
|
2
setup.py
2
setup.py
|
@ -1642,6 +1642,7 @@ class PyBuildExt(build_ext):
|
|||
self.detect_crypt()
|
||||
self.detect_socket()
|
||||
self.detect_openssl_hashlib()
|
||||
self.detect_hash_builtins()
|
||||
self.detect_dbm_gdbm()
|
||||
self.detect_sqlite()
|
||||
self.detect_platform_specific_exts()
|
||||
|
@ -2184,6 +2185,7 @@ class PyBuildExt(build_ext):
|
|||
library_dirs=openssl_libdirs,
|
||||
libraries=openssl_libs))
|
||||
|
||||
def detect_hash_builtins(self):
|
||||
# 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,
|
||||
# only loaded when actually used).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue