aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools
diff options
context:
space:
mode:
authorGravatar Akemi <der.richter@gmx.de>2018-10-27 21:15:31 +0200
committerGravatar Jan Ekström <jeebjp@gmail.com>2018-10-28 15:48:37 +0200
commit865627d849ed3262aa662ae35ca6dfd0e3f6955e (patch)
tree4be75dc3db99c7db5effdefee77c76996aeacfb7 /waftools
parent543a3bc0bd60cdc75e1658af24d3d81b2cb5939c (diff)
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.
Diffstat (limited to 'waftools')
-rw-r--r--waftools/checks/custom.py2
1 files changed, 1 insertions, 1 deletions
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)