From e45321b19cd193ba333012cfc56439650a8907e3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 9 Feb 2022 17:50:56 +0100 Subject: [PATCH] package/nftables: drop python2 support Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/nftables/nftables.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/nftables/nftables.mk b/package/nftables/nftables.mk index d5c16ac2be..232d541488 100644 --- a/package/nftables/nftables.mk +++ b/package/nftables/nftables.mk @@ -35,9 +35,9 @@ else NFTABLES_CONF_OPTS += --without-json endif -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) NFTABLES_CONF_OPTS += --enable-python -NFTABLES_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) +NFTABLES_DEPENDENCIES += python3 else NFTABLES_CONF_OPTS += --disable-python endif