mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 02:51:26 +00:00
configure: cocoa: link to libarclite
libarclite provides method stubs for the Subscripting headers added in
0407869ae3
. This allows to correclty build mpv on OSX 10.7 (I had tested that
commit with OSX 10.8 running 10.7 SDK).
It seems on 10.8 this option does't make any difference in the linked libraries
(checked with otool -L) so I just add it unconditionally.
Warning: This doesn't mean mpv moved to ARC. To do that one would have to add
`-fobjc-arc` to the cflags.
This commit is contained in:
parent
e7c372cb2f
commit
97f38de07a
1
configure
vendored
1
configure
vendored
@ -1743,6 +1743,7 @@ EOF
|
||||
fi
|
||||
if test "$_cocoa" = yes ; then
|
||||
libs_mplayer="$libs_mplayer -framework IOKit -framework Cocoa -framework OpenGL"
|
||||
extra_ldflags="$extra_ldflags -fobjc-arc" # needed for OS X 10.7
|
||||
def_cocoa='#define CONFIG_COCOA 1'
|
||||
else
|
||||
def_cocoa='#undef CONFIG_COCOA'
|
||||
|
Loading…
Reference in New Issue
Block a user