|
3 | 3 | # setup.py and what was observed to execute in a normal build via setup.py.
|
4 | 4 | # We should audit this every time we upgrade CPython.
|
5 | 5 |
|
6 |
| -_bz2 _bz2module.c -lbz2 |
| 6 | +_bz2 _bz2module.c -Xlinker -hidden-lbz2 |
7 | 7 | _crypt _cryptmodule.c
|
8 | 8 | # We link against the system ncurses on macOS for simplicity. There is no ncursesw
|
9 | 9 | # but it is Unicode aware.
|
10 |
| -_curses _cursesmodule.c -DHAVE_NCURSESW=1 -D_XOPEN_SOURCE_EXTENDED=1 -lncurses |
11 |
| -_curses_panel _curses_panel.c -DHAVE_NCURSESW=1 -D_XOPEN_SOURCE_EXTENDED=1 -lpanel -lncurses |
12 |
| -_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 -DUSING_MALLOC_CLOSURE_DOT_C=1 -DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 -I_ctypes/darwin -lffi -ldl |
| 10 | +_curses _cursesmodule.c -DHAVE_NCURSESW=1 -D_XOPEN_SOURCE_EXTENDED=1 -Xlinker -hidden-lncurses |
| 11 | +_curses_panel _curses_panel.c -DHAVE_NCURSESW=1 -D_XOPEN_SOURCE_EXTENDED=1 -Xlinker -hidden-lpanel -Xlinker -hidden-lncurses |
| 12 | +_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 -DUSING_MALLOC_CLOSURE_DOT_C=1 -DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 -I_ctypes/darwin -Xlinker -hidden-lffi -ldl |
13 | 13 | _ctypes_test _ctypes/_ctypes_test.c -lm
|
14 | 14 | _decimal _decimal/_decimal.c _decimal/libmpdec/basearith.c _decimal/libmpdec/constants.c _decimal/libmpdec/context.c _decimal/libmpdec/convolute.c _decimal/libmpdec/crt.c _decimal/libmpdec/difradix2.c _decimal/libmpdec/fnt.c _decimal/libmpdec/fourstep.c _decimal/libmpdec/io.c _decimal/libmpdec/mpalloc.c _decimal/libmpdec/mpdecimal.c _decimal/libmpdec/numbertheory.c _decimal/libmpdec/sixstep.c _decimal/libmpdec/transpose.c -DUNIVERSAL=1 -IModules/_decimal/libmpdec
|
15 | 15 | # macOS ships with an ndbm implementation in libSystem. CPython's setup.py will
|
16 | 16 | # use it unless an ndbl or gdbm_compat library is present.
|
17 | 17 | _dbm _dbmmodule.c -DHAVE_NDBM_H
|
18 | 18 | _elementtree _elementtree.c -DHAVE_EXPAT_CONFIG_H=1 -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI -IModules/expat
|
19 |
| -_hashlib _hashopenssl.c -lssl -lcrypto |
| 19 | +_hashlib _hashopenssl.c -Xlinker -hidden-lssl -Xlinker -hidden-lcrypto |
20 | 20 | _json _json.c
|
21 | 21 | _lsprof _lsprof.c rotatingtree.c
|
22 |
| -_lzma _lzmamodule.c -llzma |
| 22 | +_lzma _lzmamodule.c -Xlinker -hidden-llzma |
23 | 23 | # TODO check setup.py logic for semaphore.c and possibly fix missing
|
24 | 24 | # dependency.
|
25 | 25 | _multiprocessing _multiprocessing/multiprocessing.c _multiprocessing/semaphore.c
|
26 | 26 | _opcode _opcode.c
|
27 | 27 | _posixshmem _multiprocessing/posixshmem.c -IModules/_multiprocessing
|
28 | 28 | _queue _queuemodule.c
|
29 | 29 | _scproxy _scproxy.c -framework SystemConfiguration -framework CoreFoundation
|
30 |
| -_sqlite3 _sqlite/cache.c _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c -IModules/_sqlite -DMODULE_NAME=\"sqlite3\" -DSQLITE_OMIT_LOAD_EXTENSION=1 -lsqlite3 |
31 |
| -_ssl _ssl.c -lssl -lcrypto |
| 30 | +_sqlite3 _sqlite/cache.c _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c -IModules/_sqlite -DMODULE_NAME=\"sqlite3\" -DSQLITE_OMIT_LOAD_EXTENSION=1 -Xlinker -hidden-lsqlite3 |
| 31 | +_ssl _ssl.c -Xlinker -hidden-lssl -Xlinker -hidden-lcrypto |
32 | 32 | _testbuffer _testbuffer.c
|
33 | 33 | _testimportmultiple _testimportmultiple.c
|
34 | 34 | _testinternalcapi _testinternalcapi.c -DPy_BUILD_CORE_MODULE
|
35 | 35 | _testmultiphase _testmultiphase.c
|
36 | 36 | # CoreFoundation isn't a directory dependency but is a dependency of libtcl and libtk.
|
37 |
| -_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -framework AppKit -framework ApplicationServices -framework Carbon -framework CoreFoundation -framework CoreServices -framework CoreGraphics -framework IOKit -framework QuartzCore -ltcl8.6 -ltk8.6 |
38 |
| -_uuid _uuidmodule.c -luuid |
| 37 | +_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -framework AppKit -framework ApplicationServices -framework Carbon -framework CoreFoundation -framework CoreServices -framework CoreGraphics -framework IOKit -framework QuartzCore -Xlinker -hidden-ltcl8.6 -Xlinker -hidden-ltk8.6 |
| 38 | +_uuid _uuidmodule.c -Xlinker -hidden-luuid |
39 | 39 | _xxsubinterpreters _xxsubinterpretersmodule.c
|
40 | 40 | _xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
|
41 | 41 | pyexpat pyexpat.c expat/xmlparse.c expat/xmlrole.c expat/xmltok.c -DHAVE_EXPAT_CONFIG_H=1 -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI -IModules/expat
|
42 |
| -readline readline.c -ledit -lncurses |
| 42 | +readline readline.c -Xlinker -hidden-ledit -Xlinker -hidden-lncurses |
0 commit comments