All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/python-zopfli: needs C++
@ 2022-04-25 20:19 Arnout Vandecappelle
  0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2022-04-25 20:19 UTC (permalink / raw)
  To: buildroot

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

python-zopfli needs C++ since its addition in commit
53972c82964dd1337dff4ccbcdd484d243aef0ba:

nios2-buildroot-linux-gnu-gcc.br_real: error: zopfli/src/zopflipng/lodepng/lodepng.cpp: C++ compiler not installed on this system

Fixes:
 - http://autobuild.buildroot.org/results/442ae4a02e691b4039d1694620f6284906cdc97f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/python-weasyprint/Config.in | 2 +-
 package/python-zopfli/Config.in     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in
index 7fe99c3951..18d72d742e 100644
--- a/package/python-weasyprint/Config.in
+++ b/package/python-weasyprint/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_WEASYPRINT
 	bool "python-weasyprint"
-	depends on BR2_INSTALL_LIBSTDCPP # python-brotli
+	depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli
 	select BR2_PACKAGE_PYTHON_BROTLI # runtime
 	select BR2_PACKAGE_PYTHON_CFFI # runtime
 	select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime
diff --git a/package/python-zopfli/Config.in b/package/python-zopfli/Config.in
index 0b1ebca85c..dc68a2fef0 100644
--- a/package/python-zopfli/Config.in
+++ b/package/python-zopfli/Config.in
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_PYTHON_ZOPFLI
 	bool "python-zopfli"
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  Zopfli module for python.
 
 	  https://github.com/fonttools/py-zopfli
+
+comment "python-zopfli needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-25 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 20:19 [Buildroot] [git commit] package/python-zopfli: needs C++ Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.