[Buildroot] [PATCH 1/1] package/python-zopfli: needs C++
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sat Apr 23 17:06:24 UTC 2022
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 at gmail.com>
---
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
--
2.35.1
More information about the buildroot
mailing list