summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-10-18 14:11:26 +1100
committerMatthew Waters <matthew@centricular.com>2016-10-18 14:15:40 +1100
commit5e2f9a96901d18a812f2ba84cad8ef9f35103861 (patch)
treeec61f7e4a2d3a3098dc5761e8077fb37b51ab49a /gst-libs
parentb85fa6f2dd31f35abf60f0db13f288665a7c3b08 (diff)
downloadgstreamer-plugins-bad-5e2f9a96901d18a812f2ba84cad8ef9f35103861.tar.gz
meson: gl: fix detection of glx without gl
We need to check for libGL if we may use desktop OpenGL *or* GLX.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/gl/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build
index d6a629aed..e8f599066 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'