diff options
| author | L. E. Segovia <amy@amyspark.me> | 2025-05-23 22:00:15 -0300 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2025-06-03 20:10:45 +0530 |
| commit | c614e5061c6cea0f5e19e8b6c74f16745d623444 (patch) | |
| tree | e14b69247aeec73e10564e4307d56a4ea55a06b0 | |
| parent | e6332b8ed4c0ff8cb3d1774c27e09943bd280230 (diff) | |
| download | meson-c614e5061c6cea0f5e19e8b6c74f16745d623444.tar.gz | |
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.
| -rw-r--r-- | mesonbuild/backend/backends.py | 4 |
1 files changed, 1 insertions, 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): |
