diff --git a/modules/video_output/opengl/Makefile.am b/modules/video_output/opengl/Makefile.am index 364acbe87cad0d5fb4c2699f565566be8394ca5d..3bee347ef0002ebcdec918fc09d9f0a75640dd06 100644 --- a/modules/video_output/opengl/Makefile.am +++ b/modules/video_output/opengl/Makefile.am @@ -101,8 +101,14 @@ libegl_pbuffer_filter_plugin_la_SOURCES = video_filter/egl_pbuffer.c \ libegl_pbuffer_filter_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(EGL_FLAGS) libegl_pbuffer_filter_plugin_la_LIBADD = $(EGL_LIBS) +if HAVE_EGL +if HAVE_GL +libegl_pbuffer_filter_plugin_la_LIBADD += libvlc_opengl.la $(GL_LIBS) +vout_LTLIBRARIES += libegl_pbuffer_filter_plugin.la +endif if HAVE_ANDROID libegl_pbuffer_filter_plugin_la_LIBADD += libvlc_opengles.la $(GLES2_LIBS) libegl_pbuffer_filter_plugin_la_CPPFLAGS += -DUSE_OPENGL_ES2=1 vout_LTLIBRARIES += libegl_pbuffer_filter_plugin.la endif +endif