mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -106,6 +106,8 @@ FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
|
|||||||
# CMake requires protoc binary to exist in sysroot, even if it has wrong architecture.
|
# CMake requires protoc binary to exist in sysroot, even if it has wrong architecture.
|
||||||
SYSROOT_DIRS += "${bindir}"
|
SYSROOT_DIRS += "${bindir}"
|
||||||
|
|
||||||
|
RDEPENDS:${PN} = "abseil-cpp"
|
||||||
|
RDEPENDS:${PN}-lite = "abseil-cpp"
|
||||||
RDEPENDS:${PN}-compiler = "${PN}"
|
RDEPENDS:${PN}-compiler = "${PN}"
|
||||||
RDEPENDS:${PN}-dev += "${PN}-compiler"
|
RDEPENDS:${PN}-dev += "${PN}-compiler"
|
||||||
RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
|
RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user