From 1c186d4a300f4e0d4355d9ce1f5c16af54d27dd9 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 18 Oct 2015 00:04:45 +0300 Subject: Only compile when doing cross compilation sanity checks because linking gets way too complicated. --- interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interpreter.py') diff --git a/interpreter.py b/interpreter.py index 9e494f09c..70ce271c7 100644 --- a/interpreter.py +++ b/interpreter.py @@ -1526,7 +1526,7 @@ class Interpreter(): i = i.held_object except AttributeError: pass - if not isinstance(i, (str, build.BuildTarget)): + if not isinstance(i, (str, build.BuildTarget, build.CustomTarget)): mlog.debug('Wrong type:', str(i)) raise InterpreterException('Invalid argument to run_target.') cleaned_args.append(i) -- cgit v1.2.3