Interpreter: Using executable in run_command/configure_file is not a
bug Fixes: #11382
This commit is contained in:
parent
f1a58a3ee6
commit
5e2a47e768
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue