mirror of
https://github.com/mpv-player/mpv
synced 2025-01-15 11:31:02 +00: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:
parent
c12922d678
commit
5bad4ba482
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user