Skip to content

Commit ee772da

Browse files
ffontainetpetazzoni
authored andcommitted
package/wireshark: add optional spandsp dependency
Signed-off-by: Fabrice Fontaine <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent 428a502 commit ee772da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package/wireshark/wireshark.mk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ else
145145
WIRESHARK_CONF_OPTS += --without-snappy
146146
endif
147147

148+
ifeq ($(BR2_PACKAGE_SPANDSP),y)
149+
WIRESHARK_CONF_OPTS += --with-spandsp
150+
WIRESHARK_DEPENDENCIES += spandsp
151+
else
152+
WIRESHARK_CONF_OPTS += --without-spandsp
153+
endif
154+
148155
define WIRESHARK_REMOVE_DOCS
149156
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
150157
-o -name '*.html' -print0 | xargs -0 rm -f

0 commit comments

Comments
 (0)