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