summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/wireshark.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/wireshark.make b/rules/wireshark.make
index 13fb81845..fbf666fcf 100644
--- a/rules/wireshark.make
+++ b/rules/wireshark.make
@@ -81,8 +81,9 @@ $(STATEDIR)/wireshark.targetinstall:
#
@$(call install_copy, wireshark, 0, 0, 0755, -, /usr/bin/capinfos)
@$(call install_copy, wireshark, 0, 0, 0755, -, /usr/bin/dumpcap)
- @$(call install_copy, wireshark, 0, 0, 0755, -, \
- /usr/bin/tshark)
+ifdef PTXCONF_WIRESHARK_TSHARK
+ @$(call install_copy, wireshark, 0, 0, 0755, -, /usr/bin/tshark)
+endif
#
# libraries used by some of the executables
#