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 dfe33897db)
This commit is contained in:
Daniel van Vugt 2020-06-09 10:25:59 +00:00 committed by Marco Trevisan
parent 7d061a06de
commit 32d130ddf0

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'
)