Skip to content

Commit 234426f

Browse files
committed
macos: build crypt extension
libcrypt doesn't exist on macOS. Enabling the extension is trivial.
1 parent d465265 commit 234426f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cpython-macos/build.py

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
MACOSX_DEPLOYMENT_TARGET = '10.14'
3232

3333
DISABLED_STATIC_MODULES = {
34-
# Not yet supported.
35-
b'_crypt',
3634
# Not yet supported.
3735
b'_gdbm',
3836
# Not yet supported.

cpython-macos/static-modules

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# We should audit this every time we upgrade CPython.
55

66
_bz2 _bz2module.c -lbz2
7-
#_crypt _cryptmodule.c -lcrypt
7+
_crypt _cryptmodule.c
88
_curses _cursesmodule.c -lncurses
99
_curses_panel _curses_panel.c -lpanel -lncurses
1010
_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/darwin/dlfcn_simple.c _ctypes/malloc_closure.c _ctypes/stgdict.c _ctypes/cfield.c -DMACOSX -I_ctypes/darwin -lffi -ldl

0 commit comments

Comments
 (0)