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.
This commit is contained in:
Stefano Pigozzi 2013-12-06 00:11:38 +01:00
parent 9839bb08df
commit f89bd7c5c2
1 changed files with 2 additions and 1 deletions

View File

@ -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',