From 09b6a82dbf94eb39d9d47692318f4df49aacfbe3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Mar 2025 22:56:23 -0700 Subject: python3-pybind11-json: Specify -DPYBIND11_USE_CROSSCOMPILING=ON to support pybind11 13.x Add support for pkgconfig Use python-native during build to avoid host variability Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb') diff --git a/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb b/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb index 3667ba872c..bb2ccae794 100644 --- a/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb +++ b/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb @@ -3,10 +3,12 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98" SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95" -SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https" +SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https \ + file://d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch" DEPENDS += "nlohmann-json python3-pybind11" +EXTRA_OECMAKE += "-DPYBIND11_USE_CROSSCOMPILING=ON" S = "${WORKDIR}/git" -inherit cmake +inherit cmake python3native python3targetconfig -- cgit v1.2.3-54-g00ecf