[Buildroot] [PATCH 1/1] package/python-pybind: needs C++
Fabrice Fontaine
fontaine.fabrice at gmail.com
Mon Apr 18 11:32:48 UTC 2022
python-pybind needs C++ since its addition in commit
f42f2a63b3c5733dc56a58b18d6ba417a59d8342:
-- Check for working CXX compiler: /usr/bin/c++ - broken
CMake Error at /nvmedata/autobuild/instance-24/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"/usr/bin/c++"
is not able to compile a simple test program.
Fixes:
- http://autobuild.buildroot.org/results/90364b752bef3f7b4b1fd9181e21030349e0e529
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/python-pybind/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/python-pybind/Config.in b/package/python-pybind/Config.in
index 604cb9ee67..6e03cc62fc 100644
--- a/package/python-pybind/Config.in
+++ b/package/python-pybind/Config.in
@@ -1,8 +1,12 @@
config BR2_PACKAGE_PYTHON_PYBIND
bool "python-pybind"
+ depends on BR2_INSTALL_LIBSTDCPP
help
PyBind is a lightweight header-only library that exposes C++
types in Python and vice versa, mainly to create Python
bindings of existing C++ code.
http://pybind11.readthedocs.org/en/master
+
+comment "python-pybind needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
--
2.35.1
More information about the buildroot
mailing list