1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

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

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