summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-10-23 22:07:44 -0700
committerKhem Raj <raj.khem@gmail.com>2025-10-23 23:25:23 -0700
commitcd5492e50ee1fd48d6acd69b61b4d002815a5f98 (patch)
treee64382ff3ab7a88e2f130250780d9c7972f602a5
parent1a3d2c0c6643394b1619cc6d146f01bd19a2f9b2 (diff)
downloadmeta-openembedded-cd5492e50ee1fd48d6acd69b61b4d002815a5f98.tar.gz
libcamera: Do not stage llvm runtime when TC_RUNTIME_CXX is not llvm
This ensures that meson does not detect it and automatically link to it when using clang with gnu runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb
index 88fe9cf39c..e4be41f5f3 100644
--- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb
+++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb
@@ -19,6 +19,11 @@ PE = "1"
19DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" 19DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml"
20DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" 20DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}"
21 21
22# libcamera has logic to detect libc++ in sysroot with clang and uses it if it exists
23# however this does not work well, when llvm runtime is not used systemd wide. Because dependencies
24# e.g. libpisp demand libstdc++ and mix and match does not work well
25BASE_DEFAULT_DEPS:remove = "${@bb.utils.contains("TC_CXX_RUNTIME", "gnu", "compiler-rt libcxx", "", d)}"
26
22PACKAGES =+ "${PN}-gst ${PN}-pycamera" 27PACKAGES =+ "${PN}-gst ${PN}-pycamera"
23 28
24PACKAGECONFIG ??= "" 29PACKAGECONFIG ??= ""