diff options
| -rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb | 3 |
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" | |||
| 92 | FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}" | 92 | FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}" |
| 93 | FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}" | 93 | FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}" |
| 94 | 94 | ||
| 95 | # CMake requires binaries to exist in sysroot, even if they have wrong architecture. | ||
| 96 | SYSROOT_DIRS += "${bindir}" | ||
| 97 | |||
| 95 | RDEPENDS:${PN}-compiler = "${PN}" | 98 | RDEPENDS:${PN}-compiler = "${PN}" |
| 96 | RDEPENDS:${PN}-dev += "${PN}-compiler" | 99 | RDEPENDS:${PN}-dev += "${PN}-compiler" |
| 97 | RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" | 100 | RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" |
