diff options
-rw-r--r-- | meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 6aa6659f0..4cb1b2088 100644 --- a/meson.build +++ b/meson.build @@ -307,8 +307,12 @@ if gstgl_dep.found() set_variable('gst_gl_have_platform_@0@'.format(p), gst_gl_platforms.contains(p)) endforeach - foreach api : ['opengl', 'gles2'] + foreach api : ['gl', 'gles2'] set_variable('gst_gl_have_api_@0@'.format(api), gst_gl_apis.contains(api)) + # temporary backwards compat for older meson-generated .pc file with 'opengl' instead of 'gl' + if gst_gl_apis.contains('opengl') + gst_gl_have_api_gl = true + endif endforeach endif |