Commit 94b654a3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

fixed linking the screen module on OSX

parent 26438f95
......@@ -1877,7 +1877,6 @@ if test "${enable_screen}" != "no"; then
AC_CHECK_HEADERS(OpenGL/gl.h, [
AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, [
VLC_ADD_PLUGIN([screen])
VLC_ADD_LIBS([screen],[-Wl,-framework,OpenGL,-framework,ApplicationServices])
])
])
fi
......
......@@ -174,7 +174,8 @@ libvlc_LTLIBRARIES += libscreen_plugin.la
endif
if HAVE_DARWIN
libscreen_plugin_la_SOURCES += screen/mac.c
libvlc_LTLIBRARIES += $(LTLIBscreen)
libscreen_plugin_la_LDFLAGS = $(AM_LDFLAGS)
libscreen_plugin_la_LDFLAGS += "-Wl,-framework,OpenGL,-framework,ApplicationServices"
endif
......
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