python3-pybind11: Build with -DPYBIND11_USE_CROSSCOMPILING=ON

Since we are cross-compiling this option is required with 3.13+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-03-21 22:55:31 -07:00
parent 6482398bc3
commit c71f8ef024
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

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