package/wireshark: add libcap optional dependency

libcap is an optional dependency which is enabled by default since at
least version 1.8.0 and
9250a69a99

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f70149c80c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022.11.x
Fabrice Fontaine 2022-12-29 11:53:11 +01:00 committed by Peter Korsgaard
parent 4b0c6e11cf
commit 35c47ed4d9
1 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,13 @@ else
WIRESHARK_CONF_OPTS += -DENABLE_GNUTLS=OFF
endif
ifeq ($(BR2_PACKAGE_LIBCAP),y)
WIRESHARK_CONF_OPTS += -DENABLE_CAP=ON
WIRESHARK_DEPENDENCIES += libcap
else
WIRESHARK_CONF_OPTS += -DENABLE_CAP=OFF
endif
ifeq ($(BR2_PACKAGE_LIBKRB5),y)
WIRESHARK_CONF_OPTS += -DENABLE_KERBEROS=ON
WIRESHARK_DEPENDENCIES += libkrb5