From: Peter Marko <peter.ma...@siemens.com> 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.ma...@siemens.com> --- meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb | 2 -- 1 file changed, 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}" # CMake requires protoc binary to exist in sysroot, even if it has wrong architecture. SYSROOT_DIRS += "${bindir}" -RDEPENDS:${PN} = "abseil-cpp" -RDEPENDS:${PN}-lite = "abseil-cpp" RDEPENDS:${PN}-compiler = "${PN}" RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler', '${PN}-compiler', '', d)}" RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#115246): https://lists.openembedded.org/g/openembedded-devel/message/115246 Mute This Topic: https://lists.openembedded.org/mt/110976760/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-