diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-03-18 23:54:59 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-10-09 08:03:58 -0400 |
commit | 2cb7350d1679fb61826bf4aebfb0f75a9b9103e3 (patch) | |
tree | 0a84ac22b37164a51a4ddb95d20f014999375656 /docs/markdown/snippets | |
parent | a590cfde0cf719c637b75e4784be0c0ae60e3b1f (diff) | |
download | meson-2cb7350d1679fb61826bf4aebfb0f75a9b9103e3.zip meson-2cb7350d1679fb61826bf4aebfb0f75a9b9103e3.tar.gz meson-2cb7350d1679fb61826bf4aebfb0f75a9b9103e3.tar.bz2 |
run wrapped-due-to-env commands on unix via the env program
First, check if the env program exists. If it does, it is faster than
doing it via a python script `basically-env.py` that maybe imports all
of mesonbuild.* as a side effect of project structure.
We do not, however, use env for setting up PATH additions, since env can
override an environment variable but not extend it. So in that case we
still need to wrap the command via python.
By default, all run_targets (at least) are wrapped and now wrap via the
`env` program as they export e.g.
MESONINTROSPECT='/usr/bin/meson introspect'
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions