[vlc-commits] vout/macosx, coreanimation: do not link against opengl
David Fuhrmann
git at videolan.org
Thu Jul 2 19:12:29 CEST 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Jul 2 19:10:28 2015 +0200| [86ac78e2d06bf4daef3feb764f945418c0a87a85] | committer: David Fuhrmann
vout/macosx,coreanimation: do not link against opengl
This is not needed. And for the normal mac builds, we even do not
have this library at all.
close #13838
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86ac78e2d06bf4daef3feb764f945418c0a87a85
---
modules/video_output/Makefile.am | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 40213c6..2388848 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -12,13 +12,11 @@ endif
if HAVE_OSX
libvout_macosx_plugin_la_SOURCES = video_output/macosx.m video_output/opengl.c video_output/opengl.h
-libvout_macosx_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
-libvout_macosx_plugin_la_LIBADD = $(GL_LIBS)
+libvout_macosx_plugin_la_CFLAGS = $(AM_CFLAGS)
libvout_macosx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' -Wl,-framework,OpenGL,-framework,Cocoa
libcaopengllayer_plugin_la_SOURCES = video_output/caopengllayer.m video_output/opengl.c video_output/opengl.h
-libcaopengllayer_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
-libcaopengllayer_plugin_la_LIBADD = $(GL_LIBS)
+libcaopengllayer_plugin_la_CFLAGS = $(AM_CFLAGS)
libcaopengllayer_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' -Wl,-framework,OpenGL,-framework,Cocoa,-framework,QuartzCore
vout_LTLIBRARIES += libvout_macosx_plugin.la libcaopengllayer_plugin.la
endif
More information about the vlc-commits
mailing list