diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-19 19:47:51 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-09-04 22:47:12 +0300 |
commit | 72a6683c6f564afa8f8d7e96b0238961aa867f00 (patch) | |
tree | b6c7828fcaaf52472626bb55efb1cad4ba7bad40 /docs/markdown/Reference-manual.md | |
parent | e94a9c8fcfa4776e09c9cabfe01de705ce34b735 (diff) | |
download | meson-72a6683c6f564afa8f8d7e96b0238961aa867f00.zip meson-72a6683c6f564afa8f8d7e96b0238961aa867f00.tar.gz meson-72a6683c6f564afa8f8d7e96b0238961aa867f00.tar.bz2 |
Permit overriding find_program from the cross file.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 3f25e80..34b473d 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -466,6 +466,12 @@ Keyword arguments are the following: then use the `.found()` method on the returned object to check whether it was found or not. +- `native` defines how this executable should be searched. By default + it is set to `false`, which causes Meson to first look for the + executable in the cross file (when cross building) and if it is not + defined there, then from the system. If set to `true`, the cross + file is ignored and the program is only searched from the system. + Meson will also autodetect scripts with a shebang line and run them with the executable/interpreter specified in it both on Windows (because the command invocator will reject the command otherwise) and |