Skip to content

Commit da76783

Browse files
Python3: set BZIP2 on and use DISABLE_BZIP2 to disable bzip explicitly (#424)
1 parent cfca6f0 commit da76783

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package/python3/Config.in.host

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ config BR2_PACKAGE_HOST_PYTHON3
77

88
if BR2_PACKAGE_HOST_PYTHON3
99

10-
config BR2_PACKAGE_HOST_PYTHON3_BZIP2
10+
config BR2_PACKAGE_HOST_DISABLE_PYTHON3_BZIP2
1111
bool "bzip2"
1212
help
13-
bz2 module for host Python3.
13+
disable bz2 module for host Python3.
1414

1515
config BR2_PACKAGE_HOST_PYTHON3_SSL
1616
bool "ssl"

package/python3/python3.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ PYTHON3_DEPENDENCIES = host-python3 libffi
4141

4242
HOST_PYTHON3_DEPENDENCIES = host-expat host-zlib host-libffi
4343

44-
ifeq ($(BR2_PACKAGE_HOST_PYTHON3_BZIP2),y)
45-
HOST_PYTHON3_DEPENDENCIES += host-bzip2
46-
else
44+
ifeq ($(BR2_PACKAGE_HOST_DISABLE_PYTHON3_BZIP2),y)
4745
HOST_PYTHON3_CONF_OPTS += --disable-bzip2
46+
else
47+
HOST_PYTHON3_DEPENDENCIES += host-bzip2
4848
endif
4949

5050
ifeq ($(BR2_PACKAGE_HOST_PYTHON3_SSL),y)

0 commit comments

Comments
 (0)