[vlc-commits] Disable the libvgl plugin if OpenGL isn't available
Martin Storsjö
git at videolan.org
Tue Feb 11 11:01:14 CET 2020
vlc | branch: master | Martin Storsjö <martin at martin.st> | Tue Feb 11 11:59:11 2020 +0200| [9d9c70a52d6727f10ca82ecf74646f9a07f210f2] | committer: Martin Storsjö
Disable the libvgl plugin if OpenGL isn't available
This fixes building for Windows/ARM(64), which lacks OpenGL.
Previously, this plugin has compiled just fine without OpenGL available,
but since b6a47686dfe2f789780f902b776e864e5c386ac5, OpenGL headers
were included here. Just skip the plugin in those cases.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d9c70a52d6727f10ca82ecf74646f9a07f210f2
---
modules/video_output/Makefile.am | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 6bccecf006..4b1ac77747 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -342,5 +342,8 @@ vout_LTLIBRARIES += \
libvmem_plugin.la \
libwdummy_plugin.la \
libwextern_plugin.la \
- libvgl_plugin.la \
libyuv_plugin.la
+
+if HAVE_GL
+vout_LTLIBRARIES += libvgl_plugin.la
+endif
More information about the vlc-commits
mailing list