[vlc-commits] [Git][videolan/vlc][master] video_filter: Fix build without libGL

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Dec 11 15:28:07 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
f8e90ae7 by Hugo Beauzée-Luyssen at 2021-12-11T15:07:09+00:00
video_filter: Fix build without libGL

Don't assume that linux will always have gl.h available

- - - - -


1 changed file:

- modules/video_filter/Makefile.am


Changes:

=====================================
modules/video_filter/Makefile.am
=====================================
@@ -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



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f8e90ae78d59f73866988b8c71aa049a0d209682

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f8e90ae78d59f73866988b8c71aa049a0d209682
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list