[waffle] [PATCH] linux_dl: Use libGL.so.1 for WAFFLE_DL_OPENGL

Jordan Justen jordan.l.justen at intel.com
Mon Jul 30 18:10:39 PDT 2012


Use libGL.so.1 rather than libGL.so to lock down the
library ABI version.

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 src/waffle/linux/linux_dl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/waffle/linux/linux_dl.c b/src/waffle/linux/linux_dl.c
index 68b0fc2..a9bfae4 100644
--- a/src/waffle/linux/linux_dl.c
+++ b/src/waffle/linux/linux_dl.c
@@ -53,7 +53,7 @@ static const char*
 linux_dl_get_name(int32_t waffle_dl)
 {
     switch (waffle_dl) {
-        case WAFFLE_DL_OPENGL:     return "libGL.so";
+        case WAFFLE_DL_OPENGL:     return "libGL.so.1";
         case WAFFLE_DL_OPENGL_ES1: return "libGLESv1_CM.so";
         case WAFFLE_DL_OPENGL_ES2: return "libGLESv2.so";
         default:
-- 
1.7.11.1



More information about the waffle mailing list