package/nftables: drop python2 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
02a0676803
commit
e45321b19c
@ -35,9 +35,9 @@ else
|
|||||||
NFTABLES_CONF_OPTS += --without-json
|
NFTABLES_CONF_OPTS += --without-json
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||||
NFTABLES_CONF_OPTS += --enable-python
|
NFTABLES_CONF_OPTS += --enable-python
|
||||||
NFTABLES_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3)
|
NFTABLES_DEPENDENCIES += python3
|
||||||
else
|
else
|
||||||
NFTABLES_CONF_OPTS += --disable-python
|
NFTABLES_CONF_OPTS += --disable-python
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user