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.


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to