diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am index f8cd60c7d5..d4ef92a967 100644 --- a/modules/video_output/Makefile.am +++ b/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