Skip to contentSkip to conversation

package/uvw: needs C++

PATCH New Fabrice Fontaine 2 participants 2 messages Nov 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/uvw: needs C++

Fixes:
- http://autobuild.buildroot.org/results/01f97d793f28772cfce44f6979e39d8adff233af

---
 package/uvw/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/uvw/Config.in +3 -2
index bfaed25796..e5cfc541f6 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_UVW
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
 	depends on BR2_USE_MMU # libuv
 	depends on !BR2_STATIC_LIBS # libuv
+	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
 	select BR2_PACKAGE_LIBUV
@@ -12,8 +13,8 @@ config BR2_PACKAGE_UVW
 
 	  https://github.com/skypjack/uvw
 
-comment "uvw needs a toolchain w/ NPTL, dynamic library, gcc >= 7"
+comment "uvw needs a toolchain w/ NPTL, dynamic library, C++, gcc >= 7"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
+		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
 	depends on BR2_USE_MMU
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
Signature · 1 line
2.23.0