summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
index d95e1c20f3..06b21a0d6c 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
@@ -92,6 +92,9 @@ PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
92FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}" 92FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
93FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}" 93FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
94 94
95# CMake requires binaries to exist in sysroot, even if they have wrong architecture.
96SYSROOT_DIRS += "${bindir}"
97
95RDEPENDS:${PN}-compiler = "${PN}" 98RDEPENDS:${PN}-compiler = "${PN}"
96RDEPENDS:${PN}-dev += "${PN}-compiler" 99RDEPENDS:${PN}-dev += "${PN}-compiler"
97RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" 100RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"