mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
build: fix cocoa configure check on OS X 10.7
It failed because the 10.7 SDK doesn't natively support array and dictionary subscripting.
This commit is contained in:
6
wscript
6
wscript
@@ -498,11 +498,7 @@ video_output_features = [
|
||||
{
|
||||
'name': '--cocoa',
|
||||
'desc': 'Cocoa',
|
||||
'func': check_cc(
|
||||
fragment=load_fragment('cocoa.m'),
|
||||
compile_filename='test.m',
|
||||
framework_name=['Cocoa', 'IOKit', 'OpenGL'],
|
||||
linkflags='-fobjc-arc')
|
||||
'func': check_cocoa
|
||||
} , {
|
||||
'name': 'gdi',
|
||||
'desc': 'GDI',
|
||||
|
||||
Reference in New Issue
Block a user