mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
The Apple remote code needs the Cocoa framework to link.
Apple remote LDFLAGS are only necessary for linking MPlayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29275 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -3855,7 +3855,7 @@ EOF
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user