package/suricata: 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:
Peter Korsgaard 2022-02-09 17:51:44 +01:00 committed by Yann E. MORIN
parent edfea809a2
commit 6051682d9e

View File

@ -116,9 +116,9 @@ else
SURICATA_CONF_OPTS += --disable-luajit
endif
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
ifeq ($(BR2_PACKAGE_PYTHON3),y)
SURICATA_CONF_OPTS += --enable-python
SURICATA_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3)
SURICATA_DEPENDENCIES += python3
else
SURICATA_CONF_OPTS += --disable-python
endif