package/python-zopfli: needs C++

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

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>
This commit is contained in:
Fabrice Fontaine 2022-04-23 19:06:24 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 68dfd09708
commit b8152158f8
2 changed files with 5 additions and 1 deletions
package
python-weasyprint
python-zopfli

View File

@ -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

View File

@ -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