diff mbox series

[1/1] package/sysprof: needs C++

Message ID 20240721065302.35452-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/sysprof: needs C++ | expand

Commit Message

Fabrice Fontaine July 21, 2024, 6:53 a.m. UTC
sysprof needs C++ since bump to version 46.0 in commit
0d57555407f2a0708515e7c377f57a6466c78b1b and
https://gitlab.gnome.org/GNOME/sysprof/-/commit/a4b5ea6160135ae4ee2916b6a93b281302d5ddc8

Fixes: 0d57555407f2a0708515e7c377f57a6466c78b1b
 - http://autobuild.buildroot.org/results/6ab455b9287220d4353154ba3b54df4ce57748df

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/sysprof/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni July 21, 2024, 4:21 p.m. UTC | #1
On Sun, 21 Jul 2024 08:53:02 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> sysprof needs C++ since bump to version 46.0 in commit
> 0d57555407f2a0708515e7c377f57a6466c78b1b and
> https://gitlab.gnome.org/GNOME/sysprof/-/commit/a4b5ea6160135ae4ee2916b6a93b281302d5ddc8
> 
> Fixes: 0d57555407f2a0708515e7c377f57a6466c78b1b
>  - http://autobuild.buildroot.org/results/6ab455b9287220d4353154ba3b54df4ce57748df
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/sysprof/Config.in | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/sysprof/Config.in b/package/sysprof/Config.in
index 1d1b2fa264..be4f7653b0 100644
--- a/package/sysprof/Config.in
+++ b/package/sysprof/Config.in
@@ -7,6 +7,7 @@  config BR2_PACKAGE_SYSPROF
 	depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
 	depends on !BR2_STATIC_LIBS # libunwind, polkit
 	depends on !BR2_OPTIMIZE_FAST # polkit
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_JSON_GLIB
 	select BR2_PACKAGE_LIBDEX
 	select BR2_PACKAGE_LIBGLIB2
@@ -18,12 +19,12 @@  config BR2_PACKAGE_SYSPROF
 
 	  http://sysprof.com
 
-comment "sysprof needs a toolchain w/ dynamic libraray, wchar, threads, gcc >= 7"
+comment "sysprof needs a toolchain w/ dynamic libraray, wchar, threads, C++, gcc >= 7"
 	depends on BR2_USE_MMU
 	depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
 		!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
-		BR2_STATIC_LIBS
+		BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP
 
 comment "sysprof can't be built with Optimize for fast"
 	depends on BR2_OPTIMIZE_FAST