From 78d8e895df2ab31d3c18b1bd9af573f5e22a8429 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 18 Oct 2016 14:11:26 +1100 Subject: [PATCH] meson: gl: fix detection of glx without gl We need to check for libGL if we may use desktop OpenGL *or* GLX. --- gst-libs/gst/gl/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index d6a629aed4..e8f5990662 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -209,7 +209,7 @@ gl_include_header = ''' # Desktop OpenGL checks gl_dep = unneeded_dep glx_dep = unneeded_dep -if need_api_opengl != 'no' and need_platform_glx != 'no' +if need_api_opengl != 'no' or need_platform_glx != 'no' gl_dep = dependency('GL', required : false) if not gl_dep.found() # if host_machine.system() == 'windows'