[vlc-devel] commit: Updated the link flags for the Mac screen module ( Felix Paul Kühne )
git version control
git at videolan.org
Mon Apr 7 15:34:16 CEST 2008
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Apr 7 15:34:40 2008 +0200| [7860203e37aba4c10a2a97700994e21060f8e768]
Updated the link flags for the Mac screen module
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7860203e37aba4c10a2a97700994e21060f8e768
---
configure.ac | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index f53dd11..34846ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2583,9 +2583,11 @@ AC_ARG_ENABLE(screen,
[ --enable-screen Screen capture support (default enabled)])
if test "${enable_screen}" != "no"; then
if test "${SYS}" = "darwin"; then
- AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, [
- VLC_ADD_PLUGINS([screen])
- VLC_ADD_LDFLAGS([screen],[-Wl,-framework,ApplicationServices])
+ AC_CHECK_HEADERS(OpenGL/gl.h, [
+ AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, [
+ VLC_ADD_PLUGINS([screen])
+ VLC_ADD_LDFLAGS([screen],[-Wl,-framework,OpenGL,-framework,ApplicationServices])
+ ])
])
elif test "${SYS}" = "mingw32"; then
VLC_ADD_PLUGINS([screen])
More information about the vlc-devel
mailing list