aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-10 12:31:53 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-11 22:22:17 +0100
commitee772dad7b76dcc49bc86b5a232ccdcedec60904 (patch)
tree7c9d4cd2945cb6418ce8479340eae7f5686d6521
parent428a5029c7ab31bcb85d65f50f0a8b8189fc35e4 (diff)
downloadbuildroot-ee772dad7b76dcc49bc86b5a232ccdcedec60904.tar.gz
buildroot-ee772dad7b76dcc49bc86b5a232ccdcedec60904.tar.bz2
package/wireshark: add optional spandsp dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/wireshark/wireshark.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index 5f04af1f29..a917efb5f6 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -145,6 +145,13 @@ else
WIRESHARK_CONF_OPTS += --without-snappy
endif
+ifeq ($(BR2_PACKAGE_SPANDSP),y)
+WIRESHARK_CONF_OPTS += --with-spandsp
+WIRESHARK_DEPENDENCIES += spandsp
+else
+WIRESHARK_CONF_OPTS += --without-spandsp
+endif
+
define WIRESHARK_REMOVE_DOCS
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
-o -name '*.html' -print0 | xargs -0 rm -f