[mutter/gnome-3-36] meson_options: Use libGLESv2.so.2 for COGL_DRIVER=gles2, not libGLESv2.so



commit 32d130ddf07e701099dc74a96cad78b0d1a0ddfa
Author: Daniel van Vugt <daniel van vugt canonical com>
Date:   Tue Jun 9 10:25:59 2020 +0000

    meson_options: Use libGLESv2.so.2 for COGL_DRIVER=gles2, not libGLESv2.so
    
    The former is present on any system that supports OpenGL|ES 2. The latter
    is just provided in developer packages. Since we access the library via
    `g_module_open` it's safe to just rely on `libGLESv2.so.2`.
    
    Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1282
    
    https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1298
    
    
    (cherry picked from commit dfe33897db0989635e4a789290dd2a73da39ca5c)

 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 75a1961e43..655ef433f2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -12,7 +12,7 @@ option('opengl_libname',
 
 option('gles2_libname',
   type: 'string',
-  value: 'libGLESv2.so',
+  value: 'libGLESv2.so.2',
   description: 'GLESv2 library file name'
 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]