Skip to contentSkip to conversation

package/lrzip: needs C++

PATCH New Peter Korsgaard 1 participant 3 messages Dec 16, 2019 – Dec 23, 2019

lore
Share & tools
lore
#0 lore raw

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

Fixes:
http://autobuild.buildroot.net/results/e40/e40653aa895bb47d20ad237c8a5ae3f6b76f3f67/

libzpaq is written in C++ (and unconditionally built), so depend on C++ support.

---
 package/lrzip/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/lrzip/Config.in +4 -2
index 92540a5036..885b84dbb0 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LRZIP
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_LZO
 	select BR2_PACKAGE_BZIP2
@@ -17,6 +18,7 @@ config BR2_PACKAGE_LRZIP
 
 	  https://github.com/ckolivas/lrzip
 
-comment "lrzip needs a toolchain w/ wchar, threads"
+comment "lrzip needs a toolchain w/ wchar, threads, C++"
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.20.1
#2 lore raw

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

In reply to Peter Korsgaard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Fixes:
http://autobuild.buildroot.net/results/e40/e40653aa895bb47d20ad237c8a5ae3f6b76f3f67/

libzpaq is written in C++ (and unconditionally built), so depend on C++ support.

Committed to 2019.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard