aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-03 15:08:10 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-03 15:56:57 +0100
commiteceb09c3b856664f338fcb9b448e81a6bee8a15d (patch)
tree990664084ea22beeb6cb885cd47def3fb0d3b6e8
parente1eb9c345428e0bca79ed60ac8cf1d22579cd9f4 (diff)
downloadbuildroot-eceb09c3b856664f338fcb9b448e81a6bee8a15d.tar.gz
buildroot-eceb09c3b856664f338fcb9b448e81a6bee8a15d.tar.bz2
package/wireshark: add libkrb5 optional dependency
Specify the path to found libkrb5 as this is done for other options Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/wireshark/wireshark.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index 421338f0f8..357ef10c9f 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -19,7 +19,6 @@ WIRESHARK_AUTORECONF = YES
# wireshark adds -I$includedir to CFLAGS, causing host/target headers mixup.
# Work around it by pointing includedir at staging
WIRESHARK_CONF_OPTS = \
- --without-krb5 \
--enable-static=no \
--with-libsmi=no \
--with-pcap=$(STAGING_DIR)/usr \
@@ -84,6 +83,13 @@ else
WIRESHARK_CONF_OPTS += --with-gcrypt=no
endif
+ifeq ($(BR2_PACKAGE_LIBKRB5),y)
+WIRESHARK_CONF_OPTS += --with-krb5=$(STAGING_DIR)/usr
+WIRESHARK_DEPENDENCIES += libkrb5
+else
+WIRESHARK_CONF_OPTS += --without-krb5
+endif
+
ifeq ($(BR2_PACKAGE_LIBNL),y)
WIRESHARK_CONF_OPTS += --with-libnl
WIRESHARK_DEPENDENCIES += libnl