mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 10:02:17 +00:00
Add -framework Carbon to LDFLAGS when Mac OS X finder or bundle is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
31886434cd
commit
c12922d678
10
configure
vendored
10
configure
vendored
@ -3809,13 +3809,19 @@ if darwin; then
|
||||
|
||||
echocheck "Mac OS X Finder Support"
|
||||
def_macosx_finder='#undef CONFIG_MACOSX_FINDER'
|
||||
test "$_macosx_finder" = yes && def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
|
||||
if test "$_macosx_finder" = yes ; then
|
||||
def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
|
||||
extra_ldflags="$extra_ldflags -framework Carbon"
|
||||
fi
|
||||
echores "$_macosx_finder"
|
||||
|
||||
echocheck "Mac OS X Bundle file locations"
|
||||
def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
|
||||
test "$_macosx_bundle" = auto && _macosx_bundle=$_macosx_finder
|
||||
test "$_macosx_bundle" = yes && def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
|
||||
if test "$_macosx_bundle" = yes ; then
|
||||
def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
|
||||
extra_ldflags="$extra_ldflags -framework Carbon"
|
||||
fi
|
||||
echores "$_macosx_bundle"
|
||||
|
||||
echocheck "Apple Remote"
|
||||
|
Loading…
Reference in New Issue
Block a user