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

Otavio Salvador otavio at ossystems.com.br
Sat Aug 24 10:44:15 PDT 2013


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 at ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
1.8.4.rc1




More information about the meta-freescale mailing list