@@ -7,8 +7,16 @@ config BR2_PACKAGE_HOST_PYTHON3
if BR2_PACKAGE_HOST_PYTHON3
+config BR2_PACKAGE_HOST_PYTHON3_BZIP2
+ bool "bzip2"
+ default y
+ select BR2_PACKAGE_HOST_BZIP2
+ help
+ bz2 module for host Python3.
+
config BR2_PACKAGE_HOST_PYTHON3_SSL
bool "ssl"
+ default y
select BR2_PACKAGE_HOST_OPENSSL
help
_ssl module for host Python3.
@@ -43,6 +43,12 @@ PYTHON3_DEPENDENCIES = host-python3 libffi
HOST_PYTHON3_DEPENDENCIES = host-autoconf-archive host-expat host-zlib host-libffi
+ifeq ($(BR2_PACKAGE_HOST_PYTHON3_BZIP2),y)
+HOST_PYTHON3_DEPENDENCIES += host-bzip2
+else
+HOST_PYTHON3_CONF_OPTS += --disable-bzip2
+endif
+
ifeq ($(BR2_PACKAGE_HOST_PYTHON3_SSL),y)
HOST_PYTHON3_DEPENDENCIES += host-openssl
else
The bzip2 module is needed to build the host variant of NodeJS 14. Unfortuantly, there is no way to build just host-nodejs without setting both ssl and bzip2 support to default y. Signed-off-by: Adam Duskett <aduskett@gmail.com> --- changes v1 -> v2: - Set bzip2 and ssl support to y by default (James Hilliard) package/python3/Config.in.host | 8 ++++++++ package/python3/python3.mk | 6 ++++++ 2 files changed, 14 insertions(+)