summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorL. E. Segovia <amy@amyspark.me>2022-11-30 19:21:40 -0300
committerEli Schwartz <eschwartz93@gmail.com>2024-02-25 20:49:47 -0500
commitdf2dbd06cfb1460ca8cc12d5cb140c32bcc4f91a (patch)
tree3f226a8c0fc17f50b9a62b2bd258539e7d9843cc /docs
parent9ec26051c668fcbe5125dcd414cc9e613a0e29be (diff)
downloadmeson-df2dbd06cfb1460ca8cc12d5cb140c32bcc4f91a.tar.gz
docs: clarify environment variables take only ExternalProgram.full_path()
Fixes #10901
Diffstat (limited to 'docs')
-rw-r--r--docs/yaml/objects/external_program.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/yaml/objects/external_program.yaml b/docs/yaml/objects/external_program.yaml
index d175a01b5..4c24497a9 100644
--- a/docs/yaml/objects/external_program.yaml
+++ b/docs/yaml/objects/external_program.yaml
@@ -20,7 +20,8 @@ methods:
and allows Meson to setup inter-target dependencies correctly (for
example in cases where a program might be overridden by a [[@build_tgt]]).
Only use this if you specifically need a string, such as when embedding
- a program path into a header file.
+ a program path into a header file, or storing it into an environment
+ variable.
For example:
@@ -47,7 +48,8 @@ methods:
and allows Meson to setup inter-target dependencies correctly (for
example in cases where a program might be overridden by a [[@build_tgt]]).
Only use this if you specifically need a string, such as when embedding
- a program path into a header file.
+ a program path into a header file, or storing it into an environment
+ variable.
For example: