mirror of https://github.com/mpv-player/mpv
build: pass include paths as a list instead of a string in cocoa check
when passed as a string check_cc tries to split that string, since it assumes that several include paths can be passed to it. instead we just use a list to make it unambiguous.
This commit is contained in:
parent
543a3bc0bd
commit
865627d849
|
@ -97,7 +97,7 @@ def check_cocoa(ctx, dependency_identifier):
|
|||
fragment = load_fragment('cocoa.m'),
|
||||
compile_filename = 'test.m',
|
||||
framework_name = ['Cocoa', 'IOKit', 'OpenGL', 'QuartzCore'],
|
||||
includes = ctx.srcnode.abspath(),
|
||||
includes = [ctx.srcnode.abspath()],
|
||||
linkflags = '-fobjc-arc')
|
||||
|
||||
res = fn(ctx, dependency_identifier)
|
||||
|
|
Loading…
Reference in New Issue