diff mbox series

[meta-python,1/2] python3-pybind11: Build with -DPYBIND11_USE_CROSSCOMPILING=ON

Message ID 20250322055838.1164459-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python,1/2] python3-pybind11: Build with -DPYBIND11_USE_CROSSCOMPILING=ON | expand

Commit Message

Khem Raj March 22, 2025, 5:58 a.m. UTC
Since we are cross-compiling this option is required with 3.13+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
index ee5722fbcb..e853bb33d8 100644
--- a/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
+++ b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
@@ -16,7 +16,7 @@  S = "${WORKDIR}/git"
 
 inherit cmake python_setuptools_build_meta
 
-EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF"
+EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF -DPYBIND11_USE_CROSSCOMPILING=ON"
 
 do_configure:append() {
     cmake_do_configure