[vlc-devel] [RFC PATCH 6/8] opengl: move android mk rule

Thomas Guillem thomas at gllm.fr
Fri Feb 10 11:36:00 CET 2017


---
 modules/video_output/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index c16786e787..ab41458bb8 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -5,6 +5,9 @@ EXTRA_DIST += video_output/README
 OPENGL_DISPLAY_SRCS = video_output/opengl/vout_helper.c \
 	video_output/opengl/vout_helper.h video_output/opengl/internal.h \
 	video_output/opengl/converters.c
+if HAVE_ANDROID
+OPENGL_DISPLAY_SRCS += video_output/opengl/converter_android.c
+endif
 
 if HAVE_DECKLINK
 libdecklinkoutput_plugin_la_SOURCES = video_output/decklink.cpp
@@ -40,9 +43,6 @@ endif
 
 ### OpenGL ###
 libgles2_plugin_la_SOURCES = $(OPENGL_DISPLAY_SRCS) video_output/opengl/display.c
-if HAVE_ANDROID
-libgles2_plugin_la_SOURCES += video_output/opengl/converter_android.c
-endif
 libgles2_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES2_CFLAGS) -DUSE_OPENGL_ES2
 libgles2_plugin_la_LIBADD = $(GLES2_LIBS) $(LIBM)
 libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
-- 
2.11.0



More information about the vlc-devel mailing list