cogl: Do not depend PN-dev on empty PN

Message ID 20190911014220.4089579-1-raj.khem@gmail.com
State Accepted
Commit 70cb0c87a9e1d1001320d771fb84b5d8541591a3
Headers show
Series
  • cogl: Do not depend PN-dev on empty PN
Related show

Commit Message

Khem Raj Sept. 11, 2019, 1:42 a.m.
Fixes image build error e.g.

 - nothing provides cogl-1.0 = 1.22.4-r0.2 needed by cogl-1.0-dev-1.22.4-r0.2.core2-64

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-graphics/cogl/cogl-1.0.inc | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
index 3e392fa5ec..4038afbc11 100644
--- a/meta/recipes-graphics/cogl/cogl-1.0.inc
+++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
@@ -75,4 +75,6 @@  RPROVIDES_libcogl = "cogl-1.0"
 RCONFLICTS_libcogl = "cogl-1.0"
 RREPLACES_libcogl = "cogl-1.0"
 
+RDEPENDS_${PN}-dev = "libcogl"
+
 COMPATIBLE_HOST_armv4 = 'null'