[Buildroot] [git commit branch/2018.11.x] package/wireshark: add optional spandsp dependency
Peter Korsgaard
peter at korsgaard.com
Mon Mar 25 16:32:56 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=c01e8508b06d785a20e68dc8d555915999aaf5d6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.11.x
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit ee772dad7b76dcc49bc86b5a232ccdcedec60904)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/wireshark/wireshark.mk | 7 +++++++
1 file changed, 7 insertions(+)
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
More information about the buildroot
mailing list