summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-10-20 21:56:41 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-20 22:02:22 +0200
commit6b815d621bb82e5c9f38f05bc431e8f050def632 (patch)
treeb453422666c6bc704ab3748615aac87a363a82f8
parent1854018b01df9cbb24911f617753b8ebe217b965 (diff)
package/wireshark: properly guard sub-options
... otherwise we would end up forcefully enabling the linguist tool even when wireshark would not be enabled. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/wireshark/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in
index b5a874b64..c5b5c3e3a 100644
--- a/package/wireshark/Config.in
+++ b/package/wireshark/Config.in
@@ -10,6 +10,8 @@ config BR2_PACKAGE_WIRESHARK
https://www.wireshark.org
+if BR2_PACKAGE_WIRESHARK
+
config BR2_PACKAGE_WIRESHARK_QT
bool
default y
@@ -23,6 +25,8 @@ config BR2_PACKAGE_WIRESHARK_GUI
default y if BR2_PACKAGE_LIBGTK3
default y if BR2_PACKAGE_WIRESHARK_QT
+endif # BR2_PACKAGE_WIRESHARK
+
comment "wireshark needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS