diff --git a/package/python3/Config.in b/package/python3/Config.in index 0f4fc88a6e..bf2cd7c11e 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -98,6 +98,12 @@ config BR2_PACKAGE_PYTHON3_PYEXPAT help pyexpat and xml libraries for Python3. +config BR2_PACKAGE_PYTHON3_XZ + bool "xz module" + select BR2_PACKAGE_XZ + help + xz (a.k.a lzma) module for Python3 + config BR2_PACKAGE_PYTHON3_ZLIB bool "zlib module" select BR2_PACKAGE_ZLIB diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 393b9fb2ac..b3f31c0aa0 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -103,6 +103,10 @@ ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y) PYTHON3_DEPENDENCIES += bzip2 endif +ifeq ($(BR2_PACKAGE_PYTHON3_XZ),y) +PYTHON3_DEPENDENCIES += xz +endif + ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y) PYTHON3_DEPENDENCIES += zlib endif