[Buildroot] [git commit branch/2022.02.x] package/python-weasyprint: needs C++

Peter Korsgaard peter at korsgaard.com
Sat Apr 9 14:02:26 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=c5bcb7a201b9b4ea5f7e6816061485cb0ffce9c9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x

Commit b33e39e3ea5078cc80d9658e8af63049189bd475 forgot to add C++
dependency from python-brotli

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit fef53b2e53c0e1ee958702f7a7f2cb097d54e74f)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/python-weasyprint/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/python-weasyprint/Config.in b/package/python-weasyprint/Config.in
index 4a7e5a513d..7fe99c3951 100644
--- a/package/python-weasyprint/Config.in
+++ b/package/python-weasyprint/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_WEASYPRINT
 	bool "python-weasyprint"
+	depends on BR2_INSTALL_LIBSTDCPP # python-brotli
 	select BR2_PACKAGE_PYTHON_BROTLI # runtime
 	select BR2_PACKAGE_PYTHON_CFFI # runtime
 	select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime
@@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT
 	  The Awesome Document Factory.
 
 	  https://www.courtbouillon.org/weasyprint
+
+comment "python-weasyprint needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP



More information about the buildroot mailing list