Re: [meta-oe][PATCH] msgpack-cpp: fix msgpack-cpp is a header only library


Martin Jansa
 

so ALLOW_EMPTY:${PN} isn't needed, right?


On Wed, Nov 17, 2021 at 9:10 AM Sean Nyekjaer <sean@...> wrote:
From: Sean Nyekjaer <sean.nyekjaer.ext@...>

${PN} is empty so don't let the -dev package RDEPEND on it

Signed-off-by: Sean Nyekjaer <sean.nyekjaer.ext@...>
---
 meta-oe/recipes-devtools/msgpack/msgpack-cpp_4.0.2.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-cpp_4.0.2.bb b/meta-oe/recipes-devtools/msgpack/msgpack-cpp_4.0.2.bb
index ef066753d..dc8f13c26 100644
--- a/meta-oe/recipes-devtools/msgpack/msgpack-cpp_4.0.2.bb
+++ b/meta-oe/recipes-devtools/msgpack/msgpack-cpp_4.0.2.bb
@@ -19,4 +19,8 @@ S = "${WORKDIR}/git"

 inherit cmake pkgconfig

+ALLOW_EMPTY:${PN} = "1"
+
+RDEPENDS:${PN}-dev = ""
+
 BBCLASSEXTEND += "native nativesdk"
--
2.33.0




Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.