From c614e5061c6cea0f5e19e8b6c74f16745d623444 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Fri, 23 May 2025 22:00:15 -0300 Subject: gnome.mkenums: Fix get_executable_serialisation passing ExternalPrograms script without interpreter This is an indirect regression of e8c715786d85dcdbc367f3e379acae25a899c235; the code never accounted for ExternalPrograms that needed a harness. --- mesonbuild/backend/backends.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index ac7104fc9..6b172bb22 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -564,9 +564,7 @@ class Backend: cmd_args: T.List[str] = [] for c in raw_cmd_args: if isinstance(c, programs.ExternalProgram): - p = c.get_path() - assert isinstance(p, str) - cmd_args.append(p) + cmd_args += c.get_command() elif isinstance(c, (build.BuildTarget, build.CustomTarget)): cmd_args.append(self.get_target_filename_abs(c)) elif isinstance(c, mesonlib.File): -- cgit v1.2.3