diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-21 22:56:23 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-22 09:31:26 -0700 |
| commit | 09b6a82dbf94eb39d9d47692318f4df49aacfbe3 (patch) | |
| tree | 5c3fd96126afe6bcf9a9870163437dcbd401126a /meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb | |
| parent | c71f8ef024b5f9743191e4f039176c1ddbd54ce6 (diff) | |
| download | meta-openembedded-09b6a82dbf94eb39d9d47692318f4df49aacfbe3.tar.gz | |
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb | 6 |
1 files changed, 4 insertions, 2 deletions
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" | |||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98" |
| 4 | 4 | ||
| 5 | SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95" | 5 | SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95" |
| 6 | SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https" | 6 | SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https \ |
| 7 | file://d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch" | ||
| 7 | 8 | ||
| 8 | DEPENDS += "nlohmann-json python3-pybind11" | 9 | DEPENDS += "nlohmann-json python3-pybind11" |
| 9 | 10 | ||
| 11 | EXTRA_OECMAKE += "-DPYBIND11_USE_CROSSCOMPILING=ON" | ||
| 10 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 11 | 13 | ||
| 12 | inherit cmake | 14 | inherit cmake python3native python3targetconfig |
