summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb
index 3667ba872c..bb2ccae794 100644
--- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb
+++ b/meta-openembedded/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