summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb
diff options
context:
space:
mode:
authorTafil Avdyli <tafil@tafhub.de>2026-02-12 18:54:08 +0100
committerKhem Raj <raj.khem@gmail.com>2026-02-16 00:34:02 -0800
commit0332dae9bb2ff79e4a4faa45c42d96e0dccee4db (patch)
treeefd43bc30f4a093e9e92d55714d8f547e9c1cf32 /meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb
parentcd0a0f605ec21795ad9ce996a52d6704c4e6fbbe (diff)
downloadmeta-openembedded-0332dae9bb2ff79e4a4faa45c42d96e0dccee4db.tar.gz
python3-pybind11-json: fix Targets.cmake trying to reference host
The resulting pybind11_jsonTargets.cmake in the dev-package adds an absolute path to python include directories in the target properties: set_target_properties(pybind11_json PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "/usr/include/python3.13;${_IMPORT_PREFIX}/include" ) The patch removes ${PYTHON_INCLUDE_DIRS} which is set by pybind11 from set_target_properties to remove the poisonous host path. Signed-off-by: Tafil Avdyli <tafil@tafhub.de> 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.bb3
1 files changed, 2 insertions, 1 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 8ad7dba76a..2a030af988 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
@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98"
4 4
5SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95" 5SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95"
6SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https \ 6SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https \
7 file://d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch" 7 file://d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch \
8 file://0001-CMakeLists-drop-PYTHON_INCLUDE_DIRS-from-interface.patch"
8 9
9DEPENDS += "nlohmann-json python3-pybind11" 10DEPENDS += "nlohmann-json python3-pybind11"
10 11