[meta-fsl-arm,02/11] gpu-viv-bin-mx6q.inc: Fix soname of libGL library

Submitted by Otavio Salvador on Aug. 24, 2013, 5:44 p.m.


Message ID 1377366264-31014-3-git-send-email-otavio@ossystems.com.br
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Otavio Salvador Aug. 24, 2013, 5:44 p.m.
The soname used by mesa is 1.2.0 while the Vivante binary lacked the
minor version so sometimes we might end fetching the wrong package
because of this.

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

Patch hide | download patch | download mbox

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 38c8db5..42cd964 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
@@ -130,6 +130,9 @@  do_install () {
     # We'll only have one backend here so we rename it to generic name
     # and avoid rework in other packages, when possible
+    mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0
+    ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1.2
+    ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so
     mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1
     ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so
     mv ${D}${libdir}/libGAL-${backend}.so ${D}${libdir}/libGAL.so