summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/protobuf
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2025-02-03 19:22:03 +0100
committerKhem Raj <raj.khem@gmail.com>2025-02-03 13:03:24 -0800
commit12c7be0e8a1c07603deb6a780a5827826864a9ad (patch)
treec3fb633b99261ea7b5436efbda9acf08c9f869b5 /meta-oe/recipes-devtools/protobuf
parent5a0d4d3e880b4b999743f0f65e11fbd7e7d707e8 (diff)
downloadmeta-openembedded-12c7be0e8a1c07603deb6a780a5827826864a9ad.tar.gz
protobuf: remove rdepends on abseil-cpp
This commit reverts https://git.openembedded.org/meta-openembedded/commit/?id=5af1cd3ada4cc86864810a12c82771ba1afdce64 That commit prefers sdk development instead of release images. The additional libraries are not needed for protobuf at runtime. Also any component depending on protobuf will have whole abseil-cpp in sysroots so linking all the libraries is possible and any additional ones will be installed. What may not work is if protobuf is installed in sdk image and application using it wants to use an additional abseil-cpp library. However that is easily fixable by adding also abseil-cpp to sdk. Removing hard-dependency in release images is much harder. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf')
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
index efd70d6474..c7e9408870 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
@@ -106,8 +106,6 @@ FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
106# CMake requires protoc binary to exist in sysroot, even if it has wrong architecture. 106# CMake requires protoc binary to exist in sysroot, even if it has wrong architecture.
107SYSROOT_DIRS += "${bindir}" 107SYSROOT_DIRS += "${bindir}"
108 108
109RDEPENDS:${PN} = "abseil-cpp"
110RDEPENDS:${PN}-lite = "abseil-cpp"
111RDEPENDS:${PN}-compiler = "${PN}" 109RDEPENDS:${PN}-compiler = "${PN}"
112RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler', '${PN}-compiler', '', d)}" 110RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler', '${PN}-compiler', '', d)}"
113RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" 111RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"