msgpack-cpp: fix msgpack-cpp is a header only library

Message ID 20211117080956.1887223-1-sean@geanix.com
State New
Headers show
Series msgpack-cpp: fix msgpack-cpp is a header only library | expand

Commit Message

Sean Nyekjaer Nov. 17, 2021, 8:09 a.m. UTC
From: Sean Nyekjaer <sean.nyekjaer.ext@siemensgamesa.com>

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

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

Patch

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"