changeset 29233:4a268bd89bbc

The Apple remote code needs the Cocoa framework to link. Apple remote LDFLAGS are only necessary for linking MPlayer.
author diego
date Fri, 08 May 2009 13:58:42 +0000
parents ce95678d6dc8
children 6c47111fe28e
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu May 07 21:34:56 2009 +0000
+++ b/configure	Fri May 08 13:58:42 2009 +0000
@@ -3855,7 +3855,7 @@
 fi
 if test "$_apple_remote" = yes ; then
   def_apple_remote='#define CONFIG_APPLE_REMOTE 1'
-  extra_ldflags="$extra_ldflags -framework IOKit"
+  libs_mplayer="$libs_mplayer -framework IOKit -framework Cocoa"
 else
   def_apple_remote='#undef CONFIG_APPLE_REMOTE'
 fi