aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2020-07-28 09:28:17 +1000
committerfuzzard <fuzzard@kodi.tv>2020-07-30 20:38:33 +1000
commit12ea7cb32ae9f935a41196ba188771c9c3833b78 (patch)
tree7c8aa134ecb089722f309137527261a45fd5e080 /tools/depends
parent684430abe6ced46a89e31d62bab21ae1d3421d02 (diff)
[tools/depends/target] Python3 build bz2 module
adds support for bz2 module
Diffstat (limited to 'tools/depends')
-rw-r--r--tools/depends/target/Makefile2
-rw-r--r--tools/depends/target/python3/modules.setup2
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/depends/target/Makefile b/tools/depends/target/Makefile
index 3827ffdee9..f402a2b71e 100644
--- a/tools/depends/target/Makefile
+++ b/tools/depends/target/Makefile
@@ -89,7 +89,7 @@ fontconfig: freetype2 expat $(ICONV) $(LIBUUID)
curl: openssl nghttp2
libass: fontconfig fribidi libpng freetype2 expat $(ICONV)
libmicrohttpd: gnutls libgcrypt libgpg-error
-python3: expat gettext libxml2 sqlite3 openssl libffi
+python3: expat gettext libxml2 sqlite3 openssl libffi bzip2
libcdio: $(ICONV)
libcdio-gplv3: $(ICONV)
libplist: $(ZLIB)
diff --git a/tools/depends/target/python3/modules.setup b/tools/depends/target/python3/modules.setup
index 37ca064e2b..673f634087 100644
--- a/tools/depends/target/python3/modules.setup
+++ b/tools/depends/target/python3/modules.setup
@@ -382,6 +382,8 @@ _ctypes _ctypes/callbacks.c _ctypes/callproc.c _ctypes/cfield.c _ctypes/_ctyp
_queue _queuemodule.c
+_bz2 _bz2module.c -I$(prefix)/include -L$(prefix)/lib -lbz2
+
# Uncommenting the following line tells makesetup that all following modules
# are not built (see above for more detail).
#