Skip to content
Snippets Groups Projects
Commit f8e90ae7 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf
Browse files

video_filter: Fix build without libGL

Don't assume that linux will always have gl.h available
parent 736213df
No related branches found
No related tags found
No related merge requests found
......@@ -132,11 +132,14 @@ if HAVE_LINUX
if HAVE_ANDROID
libopengl_filter_plugin_la_LIBADD = libvlc_opengles.la
libopengl_filter_plugin_la_CFLAGS = -DUSE_OPENGL_ES2=1
video_filter_LTLIBRARIES += libopengl_filter_plugin.la
else
libopengl_filter_plugin_la_LIBADD = libvlc_opengl.la
endif
if HAVE_GL
video_filter_LTLIBRARIES += libopengl_filter_plugin.la
endif
endif
endif
if HAVE_IOS
libopengl_filter_plugin_la_LIBADD = libvlc_opengles.la
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment