[vlc-commits] fixed linking the screen module on OSX

Felix Paul Kühne git at videolan.org
Mon Sep 10 13:58:10 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Sep 10 13:57:58 2012 +0200| [94b654a3bffc3d2ae8ea8b9061dbc4b23b5cf5d0] | committer: Felix Paul Kühne

fixed linking the screen module on OSX

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94b654a3bffc3d2ae8ea8b9061dbc4b23b5cf5d0
---

 configure.ac              |    1 -
 modules/access/Modules.am |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8c7b3d3..8377391 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/modules/access/Modules.am b/modules/access/Modules.am
index 75cd180..84fafa8 100644
--- a/modules/access/Modules.am
+++ b/modules/access/Modules.am
@@ -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
 
 



More information about the vlc-commits mailing list