aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-10 12:31:53 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-25 17:32:56 +0100
commitc01e8508b06d785a20e68dc8d555915999aaf5d6 (patch)
tree604ba6c901c976cb13c18556eb0a6d8bf14e175f
parent6f7f08e1cc31467c9d3c55e2f7e3f1f5b0310fb9 (diff)
downloadbuildroot-c01e8508b06d785a20e68dc8d555915999aaf5d6.tar.gz
buildroot-c01e8508b06d785a20e68dc8d555915999aaf5d6.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> (cherry picked from commit ee772dad7b76dcc49bc86b5a232ccdcedec60904) Signed-off-by: Peter Korsgaard <peter@korsgaard.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 53ae0bcfa9..ba07fbba55 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