[vlc-commits] vout: fix build without libplacebo
    Francois Cartegnie 
    git at videolan.org
       
    Wed Oct 31 10:27:37 CET 2018
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 31 09:58:05 2018 +0100| [1e33580ee083ecc13816f083cfa2d3ebafb4ba2e] | committer: Francois Cartegnie
vout: fix build without libplacebo
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e33580ee083ecc13816f083cfa2d3ebafb4ba2e
---
 modules/video_output/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 8abc72b614..ebd1e998de 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -4,10 +4,12 @@ vout_LTLIBRARIES =
 EXTRA_DIST += video_output/README
 
 OPENGL_COMMONSOURCES = video_output/opengl/vout_helper.c \
-	video_output/placebo_utils.c video_output/placebo_utils.h \
 	video_output/opengl/vout_helper.h video_output/opengl/converter.h \
 	video_output/opengl/internal.h video_output/opengl/fragment_shaders.c \
 	video_output/opengl/converter_sw.c
+if HAVE_LIBPLACEBO
+OPENGL_COMMONSOURCES += video_output/placebo_utils.c video_output/placebo_utils.h
+endif
 
 OPENGL_COMMONCFLAGS = $(LIBPLACEBO_CFLAGS)
 OPENGL_COMMONLIBS = $(LIBPLACEBO_LIBS)
    
    
More information about the vlc-commits
mailing list