Commit 7860203e authored by Felix Paul Kühne's avatar Felix Paul Kühne

Updated the link flags for the Mac screen module

parent 04a71307
...@@ -2583,9 +2583,11 @@ AC_ARG_ENABLE(screen, ...@@ -2583,9 +2583,11 @@ AC_ARG_ENABLE(screen,
[ --enable-screen Screen capture support (default enabled)]) [ --enable-screen Screen capture support (default enabled)])
if test "${enable_screen}" != "no"; then if test "${enable_screen}" != "no"; then
if test "${SYS}" = "darwin"; then if test "${SYS}" = "darwin"; then
AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, [ AC_CHECK_HEADERS(OpenGL/gl.h, [
VLC_ADD_PLUGINS([screen]) AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, [
VLC_ADD_LDFLAGS([screen],[-Wl,-framework,ApplicationServices]) VLC_ADD_PLUGINS([screen])
VLC_ADD_LDFLAGS([screen],[-Wl,-framework,OpenGL,-framework,ApplicationServices])
])
]) ])
elif test "${SYS}" = "mingw32"; then elif test "${SYS}" = "mingw32"; then
VLC_ADD_PLUGINS([screen]) VLC_ADD_PLUGINS([screen])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment