From 865627d849ed3262aa662ae35ca6dfd0e3f6955e Mon Sep 17 00:00:00 2001 From: Akemi Date: Sat, 27 Oct 2018 21:15:31 +0200 Subject: 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. --- waftools/checks/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'waftools') diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index 821bf9c46f..1078746382 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -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) -- cgit v1.2.3