From 2fde6d8940e220f10ffe6d781a77298990d1edb8 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 14 Oct 2025 12:42:53 -0400 Subject: Add interpreter kwarg to local_program() --- docs/yaml/functions/local_program.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/yaml/functions/local_program.yaml b/docs/yaml/functions/local_program.yaml index d91867b02..07fafcf3a 100644 --- a/docs/yaml/functions/local_program.yaml +++ b/docs/yaml/functions/local_program.yaml @@ -34,3 +34,10 @@ kwargs: Specifies that this target depends on the specified target(s). If specified, this program can only be used at build time, after those targets have been built. + + interpreter: + type: external_program + description: | + When the program is a [[@custom_tgt]], Meson cannot derive the interpreter + from the file's "shebang" (`#!`) line before it's built. If needed, this + argument allows specifying an interpreter for the script. -- cgit v1.2.3