Patchwork [meta-fsl-arm,5/8] gpu-viv-bin-mx6q: Add a rdepends of 'libglslc-mx6' in libgles2-mx6

login
register
mail settings
Submitter Otavio Salvador
Date March 23, 2013, 1:39 p.m.
Message ID <1364045994-19617-6-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/46783/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - March 23, 2013, 1:39 p.m.
This fixes runtime errors as:

,----
| VertexShader: chiclet.vert: comiple error
| FragmentShader: chiclet.frag: comiple error
| ShaderProgram: null vertex program
| Segmentation fault
`----

The rdepends needs to be explicitly add as the library is loaded at
runtime so it is not possible to discovery that it is required
automatically.

Change-Id: I39c0c1c8019f9fd5c0561f9ebddeeb31f31c6e97
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index fd420c3..e0a8fb9 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -132,6 +132,7 @@  FILES_libgles-mx6-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS} ${libdir}/.debug/l
 FILES_libgles2-mx6 = "${libdir}/libGLESv2${SOLIBS}"
 FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}"
 FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}"
+RDEPENDS_libgles2-mx6 = "libglslc-mx6"
 
 FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}"
 FILES_libgl-mx6-dev = "${includedir}/GL ${libdir}/libGL${SOLIBSDEV}"