If ${PN}-compiler is not build due to PACKAGECONFIG, we shouldn't depend
on it. Otherwise installation on -dev package fails during
populate_sdk.
Signed-off-by: Christian Eggers <[email protected]>
---
meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 d5fd90137071..89e1071b59dc 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb
@@ -109,7 +109,7 @@ SYSROOT_DIRS += "${bindir}"
RDEPENDS:${PN} = "abseil-cpp"
RDEPENDS:${PN}-lite = "abseil-cpp"
RDEPENDS:${PN}-compiler = "${PN}"
-RDEPENDS:${PN}-dev += "${PN}-compiler"
+RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler',
'${PN}-compiler', '', d)}"
RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python',
'python3-protobuf', '', d)}"
MIPS_INSTRUCTION_SET = "mips"
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113741):
https://lists.openembedded.org/g/openembedded-devel/message/113741
Mute This Topic: https://lists.openembedded.org/mt/109426980/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-