Skip to content

Commit c614e50

Browse files
amysparknirbheek
authored andcommitted
gnome.mkenums: Fix get_executable_serialisation passing ExternalPrograms script without interpreter
This is an indirect regression of e8c7157; the code never accounted for ExternalPrograms that needed a harness.
1 parent e6332b8 commit c614e50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mesonbuild/backend/backends.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,7 @@ def get_executable_serialisation(
564564
cmd_args: T.List[str] = []
565565
for c in raw_cmd_args:
566566
if isinstance(c, programs.ExternalProgram):
567-
p = c.get_path()
568-
assert isinstance(p, str)
569-
cmd_args.append(p)
567+
cmd_args += c.get_command()
570568
elif isinstance(c, (build.BuildTarget, build.CustomTarget)):
571569
cmd_args.append(self.get_target_filename_abs(c))
572570
elif isinstance(c, mesonlib.File):

0 commit comments

Comments
 (0)