]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-bin-mx6q.inc: Fix soname of libGL library
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 8 Jul 2013 23:46:35 +0000 (20:46 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 29 Aug 2013 19:14:22 +0000 (16:14 -0300)
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>
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc

index 38c8db518dfa4b3616bbe4baa55b6d9dd312563b..42cd964e926223dc12aad57dcf0d63602ef90769 100644 (file)
@@ -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