diff options
Diffstat (limited to 'src/engine/SCons/Environment.py')
-rw-r--r-- | src/engine/SCons/Environment.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py index f972550..db69d62 100644 --- a/src/engine/SCons/Environment.py +++ b/src/engine/SCons/Environment.py @@ -1813,6 +1813,11 @@ class Base(SubstitutionEnvironment): action = apply(self.Action, (action,) + args, kw) result = action([], [], self) if isinstance(result, SCons.Errors.BuildError): + errstr = result.errstr + if result.filename: + errstr = result.filename + ': ' + errstr + import sys + sys.stderr.write("scons: *** %s\n" % errstr) return result.status else: return result |