Browse Source

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).
pull/128/head
Alexandre Janniaux 5 years ago
committed by Jean-Baptiste Kempf
parent
commit
3a7eccdaf4
  1. 5
      modules/video_output/Makefile.am

5
modules/video_output/Makefile.am

@ -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

Loading…
Cancel
Save