File: setup-modules.diff

package info (click to toggle)
python3.13 3.13.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 121,328 kB
  • sloc: python: 704,014; ansic: 653,914; xml: 31,250; sh: 5,844; cpp: 4,326; makefile: 1,981; objc: 787; lisp: 502; javascript: 213; asm: 75; csh: 12
file content (46 lines) | stat: -rw-r--r-- 1,509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Configure linking for C-library wrapping modules
 Use the system C libraries, rather than sources bundled with cPython, or
 anything from /usr/local.
 This is for performance, to avoid unnecessary C extension imports at start-up.

Forwarded: not-needed

--- a/Modules/Setup
+++ b/Modules/Setup
@@ -109,6 +109,7 @@ TESTPATH=
 COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)
 PYTHONPATH=$(COREPYTHONPATH)
 
+#_hashlib _hashopenssl.c -lssl -lcrypto
 
 # ---
 # Built-in modules required to get a functioning interpreter are listed in
@@ -161,8 +162,8 @@ PYTHONPATH=$(COREPYTHONPATH)
 #_sysconfig _sysconfig.c
 
 # XML
-#_elementtree _elementtree.c
-#pyexpat pyexpat.c
+#_elementtree _elementtree.c -lexpat
+#pyexpat pyexpat.c -lexpat
 
 # hashing builtins
 #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
@@ -207,15 +208,8 @@ PYTHONPATH=$(COREPYTHONPATH)
 #readline readline.c -lreadline -ltermcap
 
 # OpenSSL bindings
-#_ssl _ssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) $(OPENSSL_LIBS)
-#_hashlib _hashopenssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) -lcrypto
-
-# To statically link OpenSSL:
-# _ssl _ssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) \
-#     -l:libssl.a -Wl,--exclude-libs,libssl.a \
-#     -l:libcrypto.a -Wl,--exclude-libs,libcrypto.a
-# _hashlib _hashopenssl.c $(OPENSSL_INCLUDES) $(OPENSSL_LDFLAGS) \
-#     -l:libcrypto.a -Wl,--exclude-libs,libcrypto.a
+#_ssl _ssl.c -lssl -lcrypto
+#_hashlib _hashopenssl.c -lcrypto
 
 # The _tkinter module.
 #