From 9ce01c16f409208ca17235efee602a71da9712de Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 7 Nov 2014 19:16:17 +0200 Subject: [PATCH] Minor tweak. --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index f337c0b5f..33f0b8bb4 100644 --- a/build.py +++ b/build.py @@ -498,7 +498,7 @@ class Generator(): if hasattr(args[0], 'held_object'): exe = args[0].held_object - if not isinstance(exe, Executable): + if not isinstance(exe, Executable) and not isinstance(exe, dependencies.ExternalProgram): raise InvalidArguments('First generator argument must be an executable.') else: raise InvalidArguments('First generator argument must be an executable object.')