summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXavier Claessens <xclaessens@netflix.com>2025-10-14 12:42:53 -0400
committerXavier Claessens <xclaesse@gmail.com>2025-10-15 12:15:39 -0400
commit2fde6d8940e220f10ffe6d781a77298990d1edb8 (patch)
tree5f421ed6bbc16a3863b8b10d6a4421fbcede5a87 /docs
parent569fe981b08f8fa38ff3533651ceff414decadf4 (diff)
downloadmeson-2fde6d8940e220f10ffe6d781a77298990d1edb8.tar.gz
Add interpreter kwarg to local_program()
Diffstat (limited to 'docs')
-rw-r--r--docs/yaml/functions/local_program.yaml7
1 files changed, 7 insertions, 0 deletions
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.