diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2024-09-22 15:36:17 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-23 09:47:34 -0700 |
commit | 5af1cd3ada4cc86864810a12c82771ba1afdce64 (patch) | |
tree | 477121b6a96d30bf9eda03854bf77d1686dace91 /meta-oe/recipes-devtools/protobuf | |
parent | 341e9702ff54555f0ba3cf141c0d62a6f0aaf845 (diff) | |
download | meta-openembedded-5af1cd3ada4cc86864810a12c82771ba1afdce64.tar.gz |
protobuf: add abseil-cpp to RDEPENDS
Since commit[1], the libraries of abseil-cpp have been splitted into
separate packages. When protobuf is installed into the image, only 48
abseil libraries are installed as runtime dependencies. But the output
of 'pkg-config --libs protobuf' lists 66 abseil-cpp libraries are
required. Add abseil-cpp to RDEPENDS to ensure that all required
abseil-cpp libraries are installed.
[1] https://git.openembedded.org/meta-openembedded/commit/?id=dd6421e65eb75c35a904f4b487ba022075035ecc
Signed-off-by: Yi Zhao <yi.zhao@windriver.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.4.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb index cc5204de4d..354b3213ad 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb | |||
@@ -106,6 +106,8 @@ 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. |
107 | SYSROOT_DIRS += "${bindir}" | 107 | SYSROOT_DIRS += "${bindir}" |
108 | 108 | ||
109 | RDEPENDS:${PN} = "abseil-cpp" | ||
110 | RDEPENDS:${PN}-lite = "abseil-cpp" | ||
109 | RDEPENDS:${PN}-compiler = "${PN}" | 111 | RDEPENDS:${PN}-compiler = "${PN}" |
110 | RDEPENDS:${PN}-dev += "${PN}-compiler" | 112 | RDEPENDS:${PN}-dev += "${PN}-compiler" |
111 | RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" | 113 | RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" |