|
|
@ -804,7 +804,7 @@ class Interpreter(InterpreterBase, HoldableObject): |
|
|
|
progname = name |
|
|
|
progname = name |
|
|
|
break |
|
|
|
break |
|
|
|
else: |
|
|
|
else: |
|
|
|
raise MesonBugException('cmd was a built executable but not found in overrides table') |
|
|
|
raise InterpreterException(f'Program {cmd.description()!r} is a compiled executable and therefore cannot be used during configuration') |
|
|
|
raise InterpreterException(overridden_msg.format(progname, cmd.description())) |
|
|
|
raise InterpreterException(overridden_msg.format(progname, cmd.description())) |
|
|
|
if isinstance(cmd, ExternalProgram): |
|
|
|
if isinstance(cmd, ExternalProgram): |
|
|
|
if not cmd.found(): |
|
|
|
if not cmd.found(): |
|
|
|