Skip to content
Snippets Groups Projects
Commit 3a7eccda authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

glinterop_cvpx: add frameworks on tvOS

Otherwise, the OpenGL interop doesn't link on tvOS when creating dynamic
plugins (--enable-shared option from build.sh).
parent c7bdf947
No related branches found
No related tags found
1 merge request!182Improve bitcode support in VLC
......@@ -52,10 +52,13 @@ libglinterop_cvpx_plugin_la_LDFLAGS += -Wl,-framework,IOSurface,-framework,OpenG
vout_LTLIBRARIES += libvout_macosx_plugin.la libcaopengllayer_plugin.la \
libglinterop_cvpx_plugin.la
endif
if HAVE_IOS
if HAVE_DARWIN
if !HAVE_OSX
libglinterop_cvpx_plugin_la_CPPFLAGS += -DUSE_OPENGL_ES2
libglinterop_cvpx_plugin_la_LDFLAGS += -Wl,-framework,IOSurface,-framework,OpenGLES
endif
endif
libvout_ios_plugin_la_SOURCES = video_output/opengl/display.c
libvout_ios_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCFLAGS) -DUSE_OPENGL_ES2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment