diff options
author | Havard Graff <havard@pexip.com> | 2018-10-18 15:54:24 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-11-05 21:00:50 +0100 |
commit | b4458bb5981b703f7d41277958314e2fb09a295d (patch) | |
tree | b63636e3661ff6e22ec84eed91112a3f96235c9e /examples/meson.build | |
parent | 64a8ab51311b40b778e7c3ba272dc3b05112b13f (diff) | |
download | gobject-introspection-b4458bb5981b703f7d41277958314e2fb09a295d.tar.gz |
meson: add back /usr/bin/env to the python-cmd. Fixes #237
From nirbheek:
"The shebang parsing goes like this: everything before the first space is
the interpreter, everything after that is a single argument to that
interpreter. So in meson, if the interpreter in the shebang is `env`,
we ignore it and slurp the rest as the actual interpreter and parse it
with shell syntax to handle spaces correctly.
IIRC the py.exe python launcher on windows also knows that it should
ignore /usr/bin/env and look at the rest to find the actual interpreter
you want to use."
Diffstat (limited to 'examples/meson.build')
0 files changed, 0 insertions, 0 deletions