diff options
author | Christian Heimes <christian@python.org> | 2021-11-23 21:26:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 21:26:50 (GMT) |
commit | 095bc8f0d6845dded8f67fbc6eca20dfac8b3929 (patch) | |
tree | 2fc5b7e663019beefe3be19b6c127f79bd22ed18 /setup.py | |
parent | f840398a5fd8741653c26eb8641c48656c9800d4 (diff) | |
download | cpython-095bc8f0d6845dded8f67fbc6eca20dfac8b3929.zip cpython-095bc8f0d6845dded8f67fbc6eca20dfac8b3929.tar.gz cpython-095bc8f0d6845dded8f67fbc6eca20dfac8b3929.tar.bz2 |
bpo-45847: Port _crypt to PY_STDLIB_MOD (GH-29725)
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -1241,20 +1241,7 @@ class PyBuildExt(build_ext): self.missing.append('_curses_panel') def detect_crypt(self): - # crypt module. - if VXWORKS: - # bpo-31904: crypt() function is not provided by VxWorks. - # DES_crypt() OpenSSL provides is too weak to implement - # the encryption. - self.missing.append('_crypt') - return - - if self.compiler.find_library_file(self.lib_dirs, 'crypt'): - libs = ['crypt'] - else: - libs = [] - - self.add(Extension('_crypt', ['_cryptmodule.c'], libraries=libs)) + self.addext(Extension('_crypt', ['_cryptmodule.c'])) def detect_dbm_gdbm(self): # Modules that provide persistent dictionary-like semantics. You will |