docs: clarify environment variables take only ExternalProgram.full_path()
Fixes #10901
This commit is contained in:
parent
9ec26051c6
commit
df2dbd06cf
|
@ -20,7 +20,8 @@ methods:
|
||||||
and allows Meson to setup inter-target dependencies correctly (for
|
and allows Meson to setup inter-target dependencies correctly (for
|
||||||
example in cases where a program might be overridden by a [[@build_tgt]]).
|
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
|
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:
|
For example:
|
||||||
|
|
||||||
|
@ -47,7 +48,8 @@ methods:
|
||||||
and allows Meson to setup inter-target dependencies correctly (for
|
and allows Meson to setup inter-target dependencies correctly (for
|
||||||
example in cases where a program might be overridden by a [[@build_tgt]]).
|
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
|
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:
|
For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue