From f89bd7c5c2b5cc2850c52ad35c50f1e7fd5bf4ac Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 6 Dec 2013 00:11:38 +0100 Subject: 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. --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wscript') 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', -- cgit v1.2.3