summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-06 00:11:38 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-06 00:14:01 +0100
commitf89bd7c5c2b5cc2850c52ad35c50f1e7fd5bf4ac (patch)
treedf31742fe116998510405a408723760976fc6426 /wscript
parent9839bb08dffbce34712ed6d6e41d536973fb8c47 (diff)
downloadmpv-f89bd7c5c2b5cc2850c52ad35c50f1e7fd5bf4ac.tar.bz2
mpv-f89bd7c5c2b5cc2850c52ad35c50f1e7fd5bf4ac.tar.xz
build: link ARC to get subscripting implementation
This is needed on OS X 10.7 to handle Objective-C subscripting correctly. It was present in the old configure, but I forgot it in the wscript.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index c74878107f..0f04d75c57 100644
--- a/wscript
+++ b/wscript
@@ -472,7 +472,8 @@ video_output_features = [
'func': check_cc(
fragment=load_fragment('cocoa.m'),
compile_filename='test.m',
- framework_name=['Cocoa', 'IOKit', 'OpenGL'])
+ framework_name=['Cocoa', 'IOKit', 'OpenGL'],
+ linkflags='-fobjc-arc')
} , {
'name': 'gdi',
'desc': 'GDI',