summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-22 13:52:29 (GMT)
committerGitHub <noreply@github.com>2021-11-22 13:52:29 (GMT)
commitd9cedabeba0d87799f99c0717e81743a1c2d34ce (patch)
treeaaf2829609eb71598aeba5c838e8bb76608b0a24 /Modules
parentb451673f93465a27ee61e408190ee61cb9dbd5b6 (diff)
downloadcpython-d9cedabeba0d87799f99c0717e81743a1c2d34ce.zip
cpython-d9cedabeba0d87799f99c0717e81743a1c2d34ce.tar.gz
cpython-d9cedabeba0d87799f99c0717e81743a1c2d34ce.tar.bz2
bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Setup.stdlib.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Setup.stdlib.in b/Modules/Setup.stdlib.in
index 339a324..fdd20d4 100644
--- a/Modules/Setup.stdlib.in
+++ b/Modules/Setup.stdlib.in
@@ -56,6 +56,13 @@
# with ./configure --with-system-libmpdec
@MODULE__DECIMAL_TRUE@_decimal _decimal/_decimal.c
+# compression libs and binascii (optional CRC32 from zlib)
+# bindings need -lbz2, -lz, or -llzma, respectively
+@MODULE_BINASCII_TRUE@binascii binascii.c
+@MODULE__BZ2_TRUE@_bz2 _bz2module.c
+@MODULE__LZMA_TRUE@_lzma _lzmamodule.c
+@MODULE_ZLIB_TRUE@zlib zlibmodule.c
+
# hashing builtins, can be disabled with --without-builtin-hashlib-hashes
@MODULE__MD5_TRUE@_md5 md5module.c
@MODULE__SHA1_TRUE@_sha1 sha1module.c