Skip to contentSkip to conversation

package/wireshark: needs C++

Buildroot Arnout Vandecappelle (Essensium/Mind) 1 participant 1 message Apr 4, 2022

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=3763c30214d6c16c744c1e03a9ae7fe6fd061165
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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

---
 package/wireshark/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/wireshark/Config.in +3 -2
index 95fc9b38f3..fdeb9da259 100644
@@ -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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot