summaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorL. E. Segovia <amy@amyspark.me>2025-05-23 22:00:15 -0300
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2025-06-03 20:10:45 +0530
commitc614e5061c6cea0f5e19e8b6c74f16745d623444 (patch)
treee14b69247aeec73e10564e4307d56a4ea55a06b0 /mesonbuild/backend
parente6332b8ed4c0ff8cb3d1774c27e09943bd280230 (diff)
downloadmeson-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.
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r--mesonbuild/backend/backends.py4
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):