summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 665ee17f3c..a8ebcce983 100755
--- a/configure
+++ b/configure
@@ -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'