瀏覽代碼

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>
Yann E. MORIN 8 年之前
父節點
當前提交
6b815d621b
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      package/wireshark/Config.in

+ 4 - 0
package/wireshark/Config.in

@@ -10,6 +10,8 @@ config BR2_PACKAGE_WIRESHARK
 
 
 	  https://www.wireshark.org
 	  https://www.wireshark.org
 
 
+if BR2_PACKAGE_WIRESHARK
+
 config BR2_PACKAGE_WIRESHARK_QT
 config BR2_PACKAGE_WIRESHARK_QT
 	bool
 	bool
 	default y
 	default y
@@ -23,6 +25,8 @@ config BR2_PACKAGE_WIRESHARK_GUI
 	default y if BR2_PACKAGE_LIBGTK3
 	default y if BR2_PACKAGE_LIBGTK3
 	default y if BR2_PACKAGE_WIRESHARK_QT
 	default y if BR2_PACKAGE_WIRESHARK_QT
 
 
+endif # BR2_PACKAGE_WIRESHARK
+
 comment "wireshark needs a toolchain w/ wchar, threads"
 comment "wireshark needs a toolchain w/ wchar, threads"
 	depends on BR2_USE_MMU
 	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS