From b927353cb6606c415566c3a83b12b4d14ae0bbed Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 2 Apr 2022 19:10:15 +0200 Subject: [PATCH] package/wireshark: needs C++ wireshark needs C++ since switch to cmake-package in commit 7cb7fb8191fc52c1e2cc8b4b15ea52fd12c30d9a: CMake Error at CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Fixes: - http://autobuild.buildroot.org/results/1ce9bc2a2330e27dfaceae682139d222feb806ae Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 3763c30214d6c16c744c1e03a9ae7fe6fd061165) Signed-off-by: Peter Korsgaard --- package/wireshark/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in index 95fc9b38f3..fdeb9da259 100644 --- a/package/wireshark/Config.in +++ b/package/wireshark/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_WIRESHARK depends on BR2_USE_MMU # fork(), glib2 depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_C_ARES select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBGCRYPT @@ -45,8 +46,8 @@ comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host endif # BR2_PACKAGE_WIRESHARK -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP