applemedia: Only use the OpenGL framework on OSX

It's not available on ios (uses OpenGLES already)

https://bugzilla.gnome.org/show_bug.cgi?id=766973
This commit is contained in:
Edward Hervey 2016-06-03 07:11:33 +02:00
parent 991d9a6f5f
commit 09e3bd0fb3

View file

@ -61,7 +61,6 @@ libgstapplemedia_la_LDFLAGS = \
-Wl,-framework -Wl,CoreFoundation \
-Wl,-framework -Wl,CoreMedia \
-Wl,-framework -Wl,CoreVideo \
-Wl,-framework -Wl,OpenGL \
-Wl,-framework -Wl,AudioToolbox
noinst_HEADERS = \
@ -99,6 +98,7 @@ libgstapplemedia_la_SOURCES += \
libgstapplemedia_la_LDFLAGS += \
-Wl,-framework -Wl,Cocoa \
-Wl,-framework -Wl,QTKit \
-Wl,-framework -Wl,OpenGL \
-Wl,-framework -Wl,IOSurface
endif