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
This commit is contained in:
Daniel van Vugt 2020-06-09 18:25:59 +08:00
parent 90c20b185b
commit dfe33897db

View File

@ -12,7 +12,7 @@ option('opengl_libname',
option('gles2_libname',
type: 'string',
value: 'libGLESv2.so',
value: 'libGLESv2.so.2',
description: 'GLESv2 library file name'
)