Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libwebsockets: Require C++ toolchain
@ 2022-04-13  7:24 Johannes Agricola
  2022-04-13 20:28 ` Johannes Agricola
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Agricola @ 2022-04-13  7:24 UTC (permalink / raw)
  To: buildroot; +Cc: Johannes Agricola

Autobuild for libwebsockets failed as a C++ toolchain is required:

http://autobuild.buildroot.net/results/f9631db632211e610b8a146e22bffda0ffb8fa28/build-end.log

Signed-off-by: Johannes Agricola <johannes.agricola@work-microwave.com>
---
 package/libwebsockets/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libwebsockets/Config.in b/package/libwebsockets/Config.in
index d7b529cafd..59d1e1097f 100644
--- a/package/libwebsockets/Config.in
+++ b/package/libwebsockets/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBWEBSOCKETS
 	bool "libwebsockets"
-	depends on !BR2_STATIC_LIBS
+	depends on !BR2_STATIC_LIBS && BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_ZLIB
 	help
 	  Libwebsockets is a lightweight pure C library built to use
@@ -9,5 +9,5 @@ config BR2_PACKAGE_LIBWEBSOCKETS
 
 	  https://libwebsockets.org/
 
-comment "libwebsockets needs a toolchain w/ dynamic library"
-	depends on BR2_STATIC_LIBS
+comment "libwebsockets needs a toolchain w/ dynamic library and C++ support"
+	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-13 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-13  7:24 [Buildroot] [PATCH] package/libwebsockets: Require C++ toolchain Johannes Agricola
2022-04-13 20:28 ` Johannes Agricola
2022-04-13 21:09   ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox