@@ -162,7 +162,7 @@ _elementtree _elementtree.c
162
162
pyexpat pyexpat.c
163
163
164
164
# hashing builtins
165
- _blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
165
+ _blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c -l :libb2.a
166
166
_md5 md5module.c
167
167
_sha1 sha1module.c
168
168
_sha256 sha256module.c
@@ -193,34 +193,34 @@ termios termios.c
193
193
194
194
# Modules with UNIX dependencies that require external libraries
195
195
196
- _crypt _cryptmodule.c -lcrypt
196
+ _crypt _cryptmodule.c -l :libcrypt.a
197
197
# nis nismodule.c -I/usr/include/tirpc -lnsl -ltirpc
198
198
199
199
# Modules that require external libraries.
200
200
201
- _bz2 _bz2module.c -lbz2
202
- _ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c -ldl -lffi -DHAVE_FFI_PREP_CIF_VAR -DHAVE_FFI_PREP_CLOSURE_LOC -DHAVE_FFI_CLOSURE_ALLOC
203
- The _dbm module supports NDBM, GDBM with compat module, and Berkeley DB.
204
- _dbm _dbmmodule.c -lgdbm_compat -DUSE_GDBM_COMPAT
201
+ _bz2 _bz2module.c -l :libbz2.a
202
+ _ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c -ldl -l :libffi.a -DHAVE_FFI_PREP_CIF_VAR -DHAVE_FFI_PREP_CLOSURE_LOC -DHAVE_FFI_CLOSURE_ALLOC
203
+ # The _dbm module supports NDBM, GDBM with compat module, and Berkeley DB.
204
+ _dbm _dbmmodule.c -l :libgdbm_compat.a -DUSE_GDBM_COMPAT
205
205
_gdbm _gdbmmodule.c -l :libgdbm.a
206
206
_lzma _lzmamodule.c -l :liblzma.a
207
207
_uuid _uuidmodule.c -l :libuuid.a
208
208
zlib zlibmodule.c -l :libz.a
209
209
210
210
# The readline module also supports libeditline (-leditline).
211
211
# Some systems may require -ltermcap or -ltermlib.
212
- readline readline.c -l :libreadline.a -l:libtermcap.a
212
+ readline readline.c -l :libreadline.a
213
213
214
214
# OpenSSL bindings
215
215
# _ssl _ssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) $(OPENSSL_LIBS)
216
216
# _hashlib _hashopenssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) -lcrypto
217
217
218
218
# To statically link OpenSSL:
219
219
_ssl _ssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) \
220
- -l :libssl.a -Wl,--exclude-libs,libssl.a \
221
- -l :libcrypto.a -Wl,--exclude-libs,libcrypto.a
220
+ -l :libssl.a \
221
+ -l :libcrypto.a
222
222
_hashlib _hashopenssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) \
223
- -l :libcrypto.a -Wl,--exclude-libs,libcrypto.a
223
+ -l :libcrypto.a
224
224
225
225
# The _tkinter module.
226
226
#
@@ -238,7 +238,7 @@ _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT $(TCLTK_INCLUDES) $(TCLTK_LIBS) \
238
238
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
239
239
# -L/usr/local/lib \
240
240
# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
241
- -I/usr/include/tcl8.6 \
241
+ # -I/usr/include/tcl8.6 \
242
242
# *** Uncomment and edit to reflect where your X11 header files are:
243
243
# -I/usr/X11R6/include \
244
244
# *** Or uncomment this for Solaris:
@@ -253,7 +253,7 @@ _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT $(TCLTK_INCLUDES) $(TCLTK_LIBS) \
253
253
# *** Uncomment and edit for TOGL extension only:
254
254
# -DWITH_TOGL togl.c \
255
255
# *** Uncomment and edit to reflect your Tcl/Tk versions:
256
- -ltk8.6 -ltcl8.6 \
256
+ -l:libtk8.6.a -l:libtcl8.6.a \
257
257
# *** Uncomment and edit to reflect where your X11 libraries are:
258
258
# -L/usr/X11R6/lib \
259
259
# *** Or uncomment this for Solaris:
@@ -263,11 +263,11 @@ _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT $(TCLTK_INCLUDES) $(TCLTK_LIBS) \
263
263
# *** Uncomment for AIX:
264
264
# -lld \
265
265
# *** Always uncomment this; X11 libraries to link with:
266
- -lX11
266
+ -l:libX11.a -l:libxcb.a -l:libXss.a -l:libfontconfig.a -l:libXft.a -l:libXext.a -l:libXrandr.a -l:libXau.a -l:libXrender.a -l:libXdmcp.a -l:libfreetype.a -l:libexpat.a -l:libpng.a -l:libharfbuzz.a -l:libX11.a -l:libxcb.a
267
267
268
268
# Some system have -lcurses
269
- _curses -l :libncurses.a -l: libncursesw.a -l:libtermcap .a _cursesmodule.c
270
- _curses_panel -l :libpanel .a -l:libncurses .a _curses_panel.c
269
+ _curses -l :libncursesw.a _cursesmodule.c
270
+ _curses_panel -l :libpanelw .a -l:libncursesw .a _curses_panel.c
271
271
272
272
# macOS specific module, needs SystemConfiguration and CoreFoundation framework
273
273
# _scproxy _scproxy.c
0 commit comments